Home
last modified time | relevance | path

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

/art/runtime/mirror/
Dart_method-inl.h145 inline void ArtMethod::SetOatCodeOffset(uint32_t code_offset) { in SetOatCodeOffset() argument
147 SetEntryPointFromCompiledCode(reinterpret_cast<void*>(code_offset)); in SetOatCodeOffset()
Dart_method.h242 void SetOatCodeOffset(uint32_t code_offset);
/art/compiler/
Doat_writer.cc281 uint32_t code_offset = 0; in InitOatCodeMethod() local
308 code_offset = offset + sizeof(code_size) + thumb_offset; in InitOatCodeMethod()
313 code_offset = code_iter->second; in InitOatCodeMethod()
315 code_offsets_.Put(&code, code_offset); in InitOatCodeMethod()
390 OatMethodOffsets(code_offset, in InitOatCodeMethod()
413 method->SetOatCodeOffset(code_offset); in InitOatCodeMethod()
696 size_t code_offset = relative_offset + sizeof(code_size) + compiled_method->CodeDelta(); in WriteCodeMethod() local
698 if (code_iter != code_offsets_.end() && code_offset != method_offsets.code_offset_) { in WriteCodeMethod()
702 DCHECK(code_offset == method_offsets.code_offset_) << PrettyMethod(method_idx, dex_file); in WriteCodeMethod()
Dimage_writer.cc682 uint32_t code_offset = code - code_base; in PatchOatCodeAndMethods() local
683 SetPatchLocation(patch, reinterpret_cast<uint32_t>(GetOatAddress(code_offset))); in PatchOatCodeAndMethods()
/art/compiler/dex/
Dmir_graph.cc131 BasicBlock* MIRGraph::SplitBlock(unsigned int code_offset, in SplitBlock() argument
135 if (insn->offset == code_offset) break; in SplitBlock()
144 bottom_block->start_offset = code_offset; in SplitBlock()
209 BasicBlock* MIRGraph::FindBlock(unsigned int code_offset, bool split, bool create, in FindBlock() argument
215 it = block_map_.find(code_offset); in FindBlock()
227 if ((code_offset > bb->start_offset) && (bb->last_mir_insn != NULL) && in FindBlock()
228 (code_offset <= bb->last_mir_insn->offset)) { in FindBlock()
229 BasicBlock *new_bb = SplitBlock(code_offset, bb, bb == *immed_pred_block_p ? in FindBlock()
239 bb->start_offset = code_offset; in FindBlock()
Dmir_graph.h364 BasicBlock* FindBlock(unsigned int code_offset) { in FindBlock() argument
365 return FindBlock(code_offset, false, false, NULL); in FindBlock()
628 BasicBlock* SplitBlock(unsigned int code_offset, BasicBlock* orig_block,
630 BasicBlock* FindBlock(unsigned int code_offset, bool split, bool create,
/art/runtime/
Ddex_file_verifier.h48 bool CheckClassDataItemMethod(uint32_t idx, uint32_t access_flags, uint32_t code_offset,
Doat.cc286 OatMethodOffsets::OatMethodOffsets(uint32_t code_offset, in OatMethodOffsets() argument
294 : code_offset_(code_offset), in OatMethodOffsets()
Doat.h111 OatMethodOffsets(uint32_t code_offset,
Doat_file.h114 const uint32_t code_offset,
Doat_file.cc421 const uint32_t code_offset, in OatMethod() argument
429 code_offset_(code_offset), in OatMethod()
Ddex_file_verifier.cc348 uint32_t code_offset, bool expect_direct) const { in CheckClassDataItemMethod() argument
371 if (expect_code && code_offset == 0) { in CheckClassDataItemMethod()
375 } else if (!expect_code && code_offset != 0) { in CheckClassDataItemMethod()
377 " with access flags %x", code_offset, access_flags); in CheckClassDataItemMethod()
/art/runtime/verifier/
Dmethod_verifier.h350 bool VerifyInstruction(const Instruction* inst, uint32_t code_offset);
Dmethod_verifier.cc612 bool MethodVerifier::VerifyInstruction(const Instruction* inst, uint32_t code_offset) { in VerifyInstruction() argument
665 result = result && CheckArrayData(code_offset); in VerifyInstruction()
668 result = result && CheckBranchTarget(code_offset); in VerifyInstruction()
671 result = result && CheckSwitchTargets(code_offset); in VerifyInstruction()
/art/oatdump/
Doatdump.cc234 uint32_t code_offset = oat_method.GetCodeOffset(); in AddOffsets() local
236 code_offset &= ~0x1; in AddOffsets()
238 offsets_.insert(code_offset); in AddOffsets()