Lines Matching refs:Instruction
192 os << Instruction::Name(static_cast<Instruction::Code>(idx)); in Dump()
208 << Instruction::Name(static_cast<Instruction::Code>(pairs[i].second[0])) in Dump()
237 const Instruction::Code opcode = inst->Opcode(); in ProcessCodeItem()
238 Instruction::Code new_opcode = opcode; in ProcessCodeItem()
241 case Instruction::IGET: in ProcessCodeItem()
242 case Instruction::IGET_WIDE: in ProcessCodeItem()
243 case Instruction::IGET_OBJECT: in ProcessCodeItem()
244 case Instruction::IGET_BOOLEAN: in ProcessCodeItem()
245 case Instruction::IGET_BYTE: in ProcessCodeItem()
246 case Instruction::IGET_CHAR: in ProcessCodeItem()
247 case Instruction::IGET_SHORT: in ProcessCodeItem()
250 case Instruction::IPUT: in ProcessCodeItem()
251 case Instruction::IPUT_WIDE: in ProcessCodeItem()
252 case Instruction::IPUT_OBJECT: in ProcessCodeItem()
253 case Instruction::IPUT_BOOLEAN: in ProcessCodeItem()
254 case Instruction::IPUT_BYTE: in ProcessCodeItem()
255 case Instruction::IPUT_CHAR: in ProcessCodeItem()
256 case Instruction::IPUT_SHORT: { in ProcessCodeItem()
260 new_opcode = is_iget ? Instruction::IGET : Instruction::IPUT; in ProcessCodeItem()
292 case Instruction::CONST_STRING: in ProcessCodeItem()
293 case Instruction::CONST_STRING_JUMBO: { in ProcessCodeItem()
294 const bool is_jumbo = opcode == Instruction::CONST_STRING_JUMBO; in ProcessCodeItem()
298 new_opcode = Instruction::CONST_STRING; in ProcessCodeItem()
310 case Instruction::SGET: in ProcessCodeItem()
311 case Instruction::SGET_WIDE: in ProcessCodeItem()
312 case Instruction::SGET_OBJECT: in ProcessCodeItem()
313 case Instruction::SGET_BOOLEAN: in ProcessCodeItem()
314 case Instruction::SGET_BYTE: in ProcessCodeItem()
315 case Instruction::SGET_CHAR: in ProcessCodeItem()
316 case Instruction::SGET_SHORT: in ProcessCodeItem()
317 case Instruction::SPUT: in ProcessCodeItem()
318 case Instruction::SPUT_WIDE: in ProcessCodeItem()
319 case Instruction::SPUT_OBJECT: in ProcessCodeItem()
320 case Instruction::SPUT_BOOLEAN: in ProcessCodeItem()
321 case Instruction::SPUT_BYTE: in ProcessCodeItem()
322 case Instruction::SPUT_CHAR: in ProcessCodeItem()
323 case Instruction::SPUT_SHORT: { in ProcessCodeItem()
357 case Instruction::INVOKE_VIRTUAL: in ProcessCodeItem()
358 case Instruction::INVOKE_DIRECT: in ProcessCodeItem()
359 case Instruction::INVOKE_STATIC: in ProcessCodeItem()
360 case Instruction::INVOKE_INTERFACE: in ProcessCodeItem()
361 case Instruction::INVOKE_SUPER: { in ProcessCodeItem()
379 next->Opcode() == Instruction::MOVE_RESULT || in ProcessCodeItem()
380 next->Opcode() == Instruction::MOVE_RESULT_WIDE || in ProcessCodeItem()
381 next->Opcode() == Instruction::MOVE_RESULT_OBJECT; in ProcessCodeItem()
418 CHECK(InstNibbles(Instruction::MOVE, {dest_reg >> 4, dest_reg & 0xF})); in ProcessCodeItem()
426 case Instruction::IF_EQZ: in ProcessCodeItem()
427 case Instruction::IF_NEZ: { in ProcessCodeItem()
437 case Instruction::INSTANCE_OF: { in ProcessCodeItem()
451 case Instruction::NEW_ARRAY: { in ProcessCodeItem()
465 case Instruction::CONST_CLASS: in ProcessCodeItem()
466 case Instruction::CHECK_CAST: in ProcessCodeItem()
467 case Instruction::NEW_INSTANCE: { in ProcessCodeItem()
475 if (opcode == Instruction::NEW_INSTANCE) { in ProcessCodeItem()
477 if (next != code_item.end() && next->Opcode() == Instruction::INVOKE_DIRECT) { in ProcessCodeItem()
498 case Instruction::RETURN: in ProcessCodeItem()
499 case Instruction::RETURN_OBJECT: in ProcessCodeItem()
500 case Instruction::RETURN_WIDE: in ProcessCodeItem()
501 case Instruction::RETURN_VOID: { in ProcessCodeItem()
503 if (opcode == Instruction::RETURN_VOID || inst->VRegA_11x() == 0) { in ProcessCodeItem()
525 void NewRegisterInstructions::Add(Instruction::Code opcode, const Instruction& inst) { in Add()
567 std::cout << " ==> " << Instruction::Name(static_cast<Instruction::Code>(opcode)) << " "; in InstNibbles()