Home
last modified time | relevance | path

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

/art/compiler/
Delf_patcher.cc217 uintptr_t code_offset = quick_code - code_base; in PatchElf() local
221 code_offset = oat_header_->GetQuickToInterpreterBridgeOffset(); in PatchElf()
226 code_offset = oat_header_->GetQuickGenericJniTrampolineOffset(); in PatchElf()
239 quick_code = PointerToLowMemUInt32(reinterpret_cast<void*>(oat_data_addr + code_offset)); in PatchElf()
247 } else if (code_offset != 0) { in PatchElf()
248 value = PointerToLowMemUInt32(reinterpret_cast<void*>(oat_data_addr + code_offset)); in PatchElf()
Dcommon_compiler_test.cc149 uint32_t code_offset = kPointerSize; in CreateOatMethod() local
150 return OatFile::OatMethod(base, code_offset); in CreateOatMethod()
188 size_t code_offset = compiled_method->AlignCode(size - code_size); in MakeExecutable() local
189 size_t padding = code_offset - (size - code_size); in MakeExecutable()
199 code_ptr = &(*chunk)[code_offset]; in MakeExecutable()
Doat_writer.cc383 uint32_t code_offset = quick_code_offset - thumb_offset; in VisitMethod() local
385 mapping_table_offset += code_offset; in VisitMethod()
386 DCHECK_LT(mapping_table_offset, code_offset); in VisitMethod()
389 vmap_table_offset += code_offset; in VisitMethod()
390 DCHECK_LT(vmap_table_offset, code_offset); in VisitMethod()
393 gc_map_offset += code_offset; in VisitMethod()
394 DCHECK_LT(gc_map_offset, code_offset); in VisitMethod()
/art/runtime/mirror/
Dart_method-inl.h217 inline void ArtMethod::SetQuickOatCodeOffset(uint32_t code_offset) { in SetQuickOatCodeOffset() argument
219 SetEntryPointFromQuickCompiledCode(reinterpret_cast<void*>(code_offset)); in SetQuickOatCodeOffset()
223 inline void ArtMethod::SetPortableOatCodeOffset(uint32_t code_offset) { in SetPortableOatCodeOffset() argument
225 SetEntryPointFromPortableCompiledCode(reinterpret_cast<void*>(code_offset)); in SetPortableOatCodeOffset()
Dart_method.h352 void SetPortableOatCodeOffset(uint32_t code_offset) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
355 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 = 0);
Doat.cc494 OatMethodOffsets::OatMethodOffsets(uint32_t code_offset) : code_offset_(code_offset) { in OatMethodOffsets() argument
Doat_file.h153 OatMethod(const byte* base, const uint32_t code_offset);
Doat_file.cc588 const uint32_t code_offset) in OatMethod() argument
590 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.cc351 uint32_t code_offset = oat_method.GetCodeOffset(); in AddOffsets() local
353 code_offset &= ~0x1; in AddOffsets()
355 offsets_.insert(code_offset); in AddOffsets()
490 uint32_t code_offset = oat_method.GetCodeOffset(); in DumpOatMethod() local
491 *indent2_os << StringPrintf("code_offset: 0x%08x ", code_offset); in DumpOatMethod()
599 uint32_t code_offset = oat_method.GetCodeOffset(); in DumpOatMethod() local
600 uint32_t aligned_code_begin = AlignCodeOffset(code_offset); in DumpOatMethod()
607 code_offset, in DumpOatMethod()
/art/runtime/verifier/
Dmethod_verifier.h353 bool VerifyInstruction(const Instruction* inst, uint32_t code_offset);
Dmethod_verifier.cc686 bool MethodVerifier::VerifyInstruction(const Instruction* inst, uint32_t code_offset) { in VerifyInstruction() argument
738 result = result && CheckArrayData(code_offset); in VerifyInstruction()
741 result = result && CheckBranchTarget(code_offset); in VerifyInstruction()
744 result = result && CheckSwitchTargets(code_offset); in VerifyInstruction()