Home
last modified time | relevance | path

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

/art/compiler/
Dcommon_compiler_test.cc81 size_t code_offset = compiled_method->AlignCode(size - code_size); in MakeExecutable() local
82 size_t padding = code_offset - (size - code_size); in MakeExecutable()
96 const void* code_ptr = &(*chunk)[code_offset]; in MakeExecutable()
Doat_writer.cc417 uint32_t code_offset = quick_code_offset - thumb_offset; in VisitMethod() local
419 mapping_table_offset += code_offset; in VisitMethod()
420 DCHECK_LT(mapping_table_offset, code_offset); in VisitMethod()
423 vmap_table_offset += code_offset; in VisitMethod()
424 DCHECK_LT(vmap_table_offset, code_offset); in VisitMethod()
427 gc_map_offset += code_offset; in VisitMethod()
428 DCHECK_LT(gc_map_offset, code_offset); in VisitMethod()
/art/runtime/
Doat_file.h137 OatMethod(const uint8_t* base, const uint32_t code_offset) in OatMethod() argument
138 : begin_(base), code_offset_(code_offset) { in OatMethod()
Ddex_file_verifier.h61 bool CheckClassDataItemMethod(uint32_t idx, uint32_t access_flags, uint32_t code_offset,
Doat.h164 OatMethodOffsets(uint32_t code_offset = 0);
Doat.cc475 OatMethodOffsets::OatMethodOffsets(uint32_t code_offset) : code_offset_(code_offset) { in OatMethodOffsets() argument
Dart_method-inl.h196 inline void ArtMethod::SetQuickOatCodeOffset(uint32_t code_offset) { in SetQuickOatCodeOffset() argument
198 SetEntryPointFromQuickCompiledCode(reinterpret_cast<void*>(code_offset)); in SetQuickOatCodeOffset()
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()
Dart_method.h328 void SetQuickOatCodeOffset(uint32_t code_offset);
Dclass_linker.cc5610 const uint32_t code_offset = sizeof(void*); in CreateOatMethod() local
5611 return OatFile::OatMethod(base, code_offset); in CreateOatMethod()
/art/compiler/jit/
Djit_compiler.cc283 const uint32_t code_offset = code_ptr - base + thumb_offset; in AddToCodeCache() local
284 *out_method = OatFile::OatMethod(base, code_offset); in AddToCodeCache()
/art/compiler/dex/
Dmir_graph.cc184 BasicBlock* MIRGraph::SplitBlock(DexOffset code_offset, in SplitBlock() argument
186 DCHECK_GT(code_offset, orig_block->start_offset); in SplitBlock()
190 if (insn->offset == code_offset) break; in SplitBlock()
203 bottom_block->start_offset = code_offset; in SplitBlock()
291 BasicBlock* MIRGraph::FindBlock(DexOffset code_offset, bool create, in FindBlock() argument
294 if (UNLIKELY(code_offset >= current_code_item_->insns_size_in_code_units_)) { in FindBlock()
299 code_offset = current_code_item_->insns_size_in_code_units_; in FindBlock()
302 int block_id = (*dex_pc_to_block_map)[code_offset]; in FindBlock()
305 if ((bb != nullptr) && (bb->start_offset == code_offset)) { in FindBlock()
317 …BasicBlock* bottom_block = SplitBlock(code_offset, bb, bb == *immed_pred_block_p ? immed_pred_blo… in FindBlock()
[all …]
Dmir_graph.h580 BasicBlock* FindBlock(DexOffset code_offset, in FindBlock() argument
582 return FindBlock(code_offset, false, nullptr, dex_pc_to_block_map); in FindBlock()
1289 BasicBlock* SplitBlock(DexOffset code_offset, BasicBlock* orig_block,
1291 BasicBlock* FindBlock(DexOffset code_offset, bool create, BasicBlock** immed_pred_block_p,
/art/oatdump/
Doatdump.cc573 uint32_t code_offset = oat_method.GetCodeOffset(); in AddOffsets() local
575 code_offset &= ~0x1; in AddOffsets()
577 offsets_.insert(code_offset); in AddOffsets()
795 uint32_t code_offset = oat_method.GetCodeOffset(); in DumpOatMethod() local
798 if (resolved_addr2instr_ > code_offset + code_size) { in DumpOatMethod()
831 *indent2_os << StringPrintf("code_offset: 0x%08x ", code_offset); in DumpOatMethod()
939 uint32_t aligned_code_begin = AlignCodeOffset(code_offset); in DumpOatMethod()
946 code_offset, in DumpOatMethod()
/art/runtime/verifier/
Dmethod_verifier.h395 bool VerifyInstruction(const Instruction* inst, uint32_t code_offset);
Dmethod_verifier.cc812 bool MethodVerifier::VerifyInstruction(const Instruction* inst, uint32_t code_offset) { in VerifyInstruction() argument
864 result = result && CheckArrayData(code_offset); in VerifyInstruction()
867 result = result && CheckBranchTarget(code_offset); in VerifyInstruction()
870 result = result && CheckSwitchTargets(code_offset); in VerifyInstruction()