Home
last modified time | relevance | path

Searched refs:cur_offset (Results 1 – 6 of 6) sorted by relevance

/art/runtime/verifier/
Dmethod_verifier.h385 bool CheckArrayData(uint32_t cur_offset);
392 bool CheckBranchTarget(uint32_t cur_offset);
396 bool CheckSwitchTargets(uint32_t cur_offset);
413 bool GetBranchOffset(uint32_t cur_offset, int32_t* pOffset, bool* pConditional,
Dmethod_verifier.cc877 bool MethodVerifier::CheckArrayData(uint32_t cur_offset) { in CheckArrayData() argument
879 const uint16_t* insns = code_item_->insns_ + cur_offset; in CheckArrayData()
883 DCHECK_LT(cur_offset, insn_count); in CheckArrayData()
886 if ((int32_t) cur_offset + array_data_offset < 0 || in CheckArrayData()
887 cur_offset + array_data_offset + 2 >= insn_count) { in CheckArrayData()
888 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "invalid array data start: at " << cur_offset in CheckArrayData()
897 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "unaligned array data table: at " << cur_offset in CheckArrayData()
905 if (cur_offset + array_data_offset + table_size > insn_count) { in CheckArrayData()
906 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "invalid array data end: at " << cur_offset in CheckArrayData()
908 << cur_offset + array_data_offset + table_size in CheckArrayData()
[all …]
/art/compiler/dex/
Dmir_graph.cc399 BasicBlock* MIRGraph::ProcessCanBranch(BasicBlock* cur_block, MIR* insn, DexOffset cur_offset, in ProcessCanBranch() argument
402 DexOffset target = cur_offset; in ProcessCanBranch()
438 BasicBlock* fallthrough_block = FindBlock(cur_offset + width, in ProcessCanBranch()
459 FindBlock(cur_offset + width, /* split */ false, /* create */ true, in ProcessCanBranch()
466 BasicBlock* MIRGraph::ProcessCanSwitch(BasicBlock* cur_block, MIR* insn, DexOffset cur_offset, in ProcessCanSwitch() argument
469 reinterpret_cast<const uint16_t*>(GetCurrentInsns() + cur_offset + insn->dalvikInsn.vB); in ProcessCanSwitch()
520 BasicBlock* case_block = FindBlock(cur_offset + target_table[i], /* split */ true, in ProcessCanSwitch()
534 BasicBlock* fallthrough_block = FindBlock(cur_offset + width, /* split */ false, in ProcessCanSwitch()
542 BasicBlock* MIRGraph::ProcessCanThrow(BasicBlock* cur_block, MIR* insn, DexOffset cur_offset, in ProcessCanThrow() argument
545 bool in_try_block = try_block_addr->IsBitSet(cur_offset); in ProcessCanThrow()
[all …]
Dmir_graph.h1100 BasicBlock* ProcessCanBranch(BasicBlock* cur_block, MIR* insn, DexOffset cur_offset, int width,
1102 BasicBlock* ProcessCanSwitch(BasicBlock* cur_block, MIR* insn, DexOffset cur_offset, int width,
1104 BasicBlock* ProcessCanThrow(BasicBlock* cur_block, MIR* insn, DexOffset cur_offset, int width,
/art/compiler/dex/quick/arm64/
Dint_arm64.cc1494 int cur_offset = 2; // What's the starting offset after the first stp? We expect the base slot in SpillRegsPreIndexed() local
1519 cur_offset = 0; // That core reg needs to go into the upper half. in SpillRegsPreIndexed()
1555 cur_offset); in SpillRegsPreIndexed()
1559 RegStorage::FloatSolo64(reg1).GetReg(), base.GetReg(), cur_offset); in SpillRegsPreIndexed()
1560 cur_offset += 2; in SpillRegsPreIndexed()
1571 cur_offset + 1); in SpillRegsPreIndexed()
1572 cur_offset += 2; // Half-slot filled now. in SpillRegsPreIndexed()
1578 for (; core_reg_mask != 0; cur_offset += 2) { in SpillRegsPreIndexed()
1581 RegStorage::Solo64(reg1).GetReg(), base.GetReg(), cur_offset); in SpillRegsPreIndexed()
1584 DCHECK_EQ(cur_offset, all_offset); in SpillRegsPreIndexed()
/art/compiler/
Doat_writer.cc418 int cur_offset = cfi_info->size(); in VisitMethod() local
422 uint32_t CIE_pointer = cur_offset + 4; in VisitMethod()
423 uint32_t offset_to_update = cur_offset + sizeof(uint32_t); in VisitMethod()
430 offset_to_update = cur_offset + 2*sizeof(uint32_t); in VisitMethod()