Searched defs:code_offset (Results 1 - 11 of 11) sorted by relevance

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

Completed in 5304 milliseconds