Home
last modified time | relevance | path

Searched refs:code_offset (Results 1 – 16 of 16) sorted by relevance

/art/compiler/
Dcommon_compiler_test.cc148 uint32_t code_offset, gc_map_offset; in CreateOatMethod() local
152 code_offset = kPointerSize; in CreateOatMethod()
157 code_offset = PointerToLowMemUInt32(code); in CreateOatMethod()
160 return OatFile::OatMethod(base, code_offset, gc_map_offset); in CreateOatMethod()
194 size_t code_offset = compiled_method->AlignCode(size - code_size); in MakeExecutable() local
195 size_t padding = code_offset - (size - code_size); in MakeExecutable()
204 code_ptr = &(*chunk)[code_offset]; in MakeExecutable()
Delf_patcher.cc206 uintptr_t code_offset = quick_code - code_base; in PatchElf() local
210 code_offset = oat_header_->GetQuickToInterpreterBridgeOffset(); in PatchElf()
215 code_offset = oat_header_->GetQuickGenericJniTrampolineOffset(); in PatchElf()
228 quick_code = PointerToLowMemUInt32(reinterpret_cast<void*>(oat_data_addr + code_offset)); in PatchElf()
236 } else if (code_offset != 0) { in PatchElf()
237 value = PointerToLowMemUInt32(reinterpret_cast<void*>(oat_data_addr + code_offset)); in PatchElf()
Doat_writer.cc379 uint32_t code_offset = quick_code_offset - thumb_offset; in VisitMethod() local
381 mapping_table_offset += code_offset; in VisitMethod()
382 DCHECK_LT(mapping_table_offset, code_offset); in VisitMethod()
385 vmap_table_offset += code_offset; in VisitMethod()
386 DCHECK_LT(vmap_table_offset, code_offset); in VisitMethod()
/art/runtime/mirror/
Dart_method-inl.h218 inline void ArtMethod::SetQuickOatCodeOffset(uint32_t code_offset) { in SetQuickOatCodeOffset() argument
220 SetEntryPointFromQuickCompiledCode(reinterpret_cast<void*>(code_offset)); in SetQuickOatCodeOffset()
224 inline void ArtMethod::SetPortableOatCodeOffset(uint32_t code_offset) { in SetPortableOatCodeOffset() argument
226 SetEntryPointFromPortableCompiledCode(reinterpret_cast<void*>(code_offset)); in SetPortableOatCodeOffset()
Dart_method.h316 void SetPortableOatCodeOffset(uint32_t code_offset) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
319 void SetQuickOatCodeOffset(uint32_t code_offset) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
/art/runtime/
Ddex_file_verifier.h61 bool CheckClassDataItemMethod(uint32_t idx, uint32_t access_flags, uint32_t code_offset,
Doat.h165 OatMethodOffsets(uint32_t code_offset,
Doat.cc493 OatMethodOffsets::OatMethodOffsets(uint32_t code_offset, in OatMethodOffsets() argument
496 : code_offset_(code_offset), in OatMethodOffsets()
Doat_file.h154 const uint32_t code_offset,
Doat_file.cc584 const uint32_t code_offset, in OatMethod() argument
587 code_offset_(code_offset), in OatMethod()
Ddex_file_verifier.cc468 uint32_t code_offset, bool expect_direct) { in CheckClassDataItemMethod() argument
491 if (UNLIKELY(expect_code && (code_offset == 0))) { in CheckClassDataItemMethod()
495 } else if (UNLIKELY(!expect_code && (code_offset != 0))) { in CheckClassDataItemMethod()
497 " with access flags %x", code_offset, access_flags); in CheckClassDataItemMethod()
/art/compiler/dex/
Dmir_graph.cc155 BasicBlock* MIRGraph::SplitBlock(DexOffset code_offset, in SplitBlock() argument
157 DCHECK_GT(code_offset, orig_block->start_offset); in SplitBlock()
161 if (insn->offset == code_offset) break; in SplitBlock()
171 bottom_block->start_offset = code_offset; in SplitBlock()
266 BasicBlock* MIRGraph::FindBlock(DexOffset code_offset, bool split, bool create, in FindBlock() argument
268 if (code_offset >= cu_->code_item->insns_size_in_code_units_) { in FindBlock()
272 int block_id = dex_pc_to_block_map_.Get(code_offset); in FindBlock()
275 if ((bb != NULL) && (bb->start_offset == code_offset)) { in FindBlock()
287 return SplitBlock(code_offset, bb, bb == *immed_pred_block_p ? immed_pred_block_p : NULL); in FindBlock()
293 bb->start_offset = code_offset; in FindBlock()
Dmir_graph.h564 BasicBlock* FindBlock(DexOffset code_offset) { in FindBlock() argument
565 return FindBlock(code_offset, false, false, NULL); in FindBlock()
1094 BasicBlock* SplitBlock(DexOffset code_offset, BasicBlock* orig_block,
1096 BasicBlock* FindBlock(DexOffset code_offset, bool split, bool create,
/art/oatdump/
Doatdump.cc344 uint32_t code_offset = oat_method.GetCodeOffset(); in AddOffsets() local
346 code_offset &= ~0x1; in AddOffsets()
348 offsets_.insert(code_offset); in AddOffsets()
483 uint32_t code_offset = oat_method.GetCodeOffset(); in DumpOatMethod() local
484 *indent2_os << StringPrintf("code_offset: 0x%08x ", code_offset); in DumpOatMethod()
592 uint32_t code_offset = oat_method.GetCodeOffset(); in DumpOatMethod() local
593 uint32_t aligned_code_begin = AlignCodeOffset(code_offset); in DumpOatMethod()
600 code_offset, in DumpOatMethod()
/art/runtime/verifier/
Dmethod_verifier.h353 bool VerifyInstruction(const Instruction* inst, uint32_t code_offset);
Dmethod_verifier.cc669 bool MethodVerifier::VerifyInstruction(const Instruction* inst, uint32_t code_offset) { in VerifyInstruction() argument
721 result = result && CheckArrayData(code_offset); in VerifyInstruction()
724 result = result && CheckBranchTarget(code_offset); in VerifyInstruction()
727 result = result && CheckSwitchTargets(code_offset); in VerifyInstruction()