Lines Matching refs:insns

642   bool CheckNotMoveException(const uint16_t* insns, int insn_idx) {  in CheckNotMoveException()  argument
643 if ((insns[insn_idx] & 0xff) == Instruction::MOVE_EXCEPTION) { in CheckNotMoveException()
656 bool CheckNotMoveResult(const uint16_t* insns, int insn_idx) { in CheckNotMoveResult() argument
657 if (((insns[insn_idx] & 0xff) >= Instruction::MOVE_RESULT) && in CheckNotMoveResult()
658 ((insns[insn_idx] & 0xff) <= Instruction::MOVE_RESULT_OBJECT)) { in CheckNotMoveResult()
670 bool CheckNotMoveExceptionOrMoveResult(const uint16_t* insns, int insn_idx) { in CheckNotMoveExceptionOrMoveResult() argument
671 return (CheckNotMoveException(insns, insn_idx) && CheckNotMoveResult(insns, insn_idx)); in CheckNotMoveExceptionOrMoveResult()
1365 const uint16_t* insns = code_item_accessor_.Insns() + cur_offset; in CheckArrayData() local
1371 array_data_offset = insns[1] | (static_cast<int32_t>(insns[2]) << 16); in CheckArrayData()
1380 array_data = insns + array_data_offset; in CheckArrayData()
1447 const uint16_t* insns = code_item_accessor_.Insns() + cur_offset; in GetBranchOffset() local
1450 switch (*insns & 0xff) { in GetBranchOffset()
1452 *pOffset = ((int16_t) *insns) >> 8; in GetBranchOffset()
1455 *pOffset = insns[1] | (((uint32_t) insns[2]) << 16); in GetBranchOffset()
1459 *pOffset = (int16_t) insns[1]; in GetBranchOffset()
1473 *pOffset = (int16_t) insns[1]; in GetBranchOffset()
1486 const uint16_t* insns = code_item_accessor_.Insns() + cur_offset; in CheckSwitchTargets() local
1488 int32_t switch_offset = insns[1] | (static_cast<int32_t>(insns[2]) << 16); in CheckSwitchTargets()
1497 const uint16_t* switch_insns = insns + switch_offset; in CheckSwitchTargets()
1513 bool is_packed_switch = (*insns & 0xff) == Instruction::PACKED_SWITCH; in CheckSwitchTargets()
1865 const uint16_t* insns = code_item_accessor_.Insns(); in CodeFlowVerifyMethod() local
1956 if (insns[insn_idx] == Instruction::kPackedSwitchSignature || in CodeFlowVerifyMethod()
1957 insns[insn_idx] == Instruction::kSparseSwitchSignature || in CodeFlowVerifyMethod()
1958 insns[insn_idx] == Instruction::kArrayDataSignature || in CodeFlowVerifyMethod()
1959 (insns[insn_idx] == Instruction::NOP && (insn_idx + 1 < insns_size) && in CodeFlowVerifyMethod()
1960 (insns[insn_idx + 1] == Instruction::kPackedSwitchSignature || in CodeFlowVerifyMethod()
1961 insns[insn_idx + 1] == Instruction::kSparseSwitchSignature || in CodeFlowVerifyMethod()
1962 insns[insn_idx + 1] == Instruction::kArrayDataSignature))) { in CodeFlowVerifyMethod()
2056 const uint16_t* insns = code_item_accessor_.Insns() + work_insn_idx_; in CodeFlowVerifyInstruction() local
2057 const Instruction* inst = Instruction::At(insns); in CodeFlowVerifyInstruction()
2624 insns + (insns[1] | (static_cast<int32_t>(insns[2]) << 16)); in CodeFlowVerifyInstruction()
3553 int offset_to_switch = insns[1] | (static_cast<int32_t>(insns[2]) << 16); in CodeFlowVerifyInstruction()
3554 const uint16_t* switch_insns = insns + offset_to_switch; in CodeFlowVerifyInstruction()
3558 if ((*insns & 0xff) == Instruction::PACKED_SWITCH) { in CodeFlowVerifyInstruction()
3563 DCHECK((*insns & 0xff) == Instruction::SPARSE_SWITCH); in CodeFlowVerifyInstruction()