Lines Matching refs:opcode
46 constexpr Opcode InvokeToInvokeRange(Opcode opcode) { in InvokeToInvokeRange() argument
47 switch (opcode) { in InvokeToInvokeRange()
57 LOG(FATAL) << opcode << " is not a recognized invoke opcode."; in InvokeToInvokeRange()
64 std::ostream& operator<<(std::ostream& out, const Instruction::Op& opcode) { in operator <<() argument
65 switch (opcode) { in operator <<()
337 switch (instruction.opcode()) { in EncodeInstruction()
366 void MethodBuilder::EncodeReturn(const Instruction& instruction, ::art::Instruction::Code opcode) { in EncodeReturn() argument
373 Encode11x(opcode, source); in EncodeReturn()
378 CHECK(Instruction::Op::kMove == instruction.opcode() || in EncodeMove()
379 Instruction::Op::kMoveObject == instruction.opcode()); in EncodeMove()
400 Opcode opcode = instruction.opcode() == Instruction::Op::kMove in EncodeMove() local
403 Encode32x(opcode, RegisterValue(*instruction.dest()), RegisterValue(source)); in EncodeMove()
409 void MethodBuilder::EncodeInvoke(const Instruction& instruction, ::art::Instruction::Code opcode) { in EncodeInvoke() argument
436 if (opcode == ::art::Instruction::INVOKE_VIRTUAL || in EncodeInvoke()
437 opcode == ::art::Instruction::INVOKE_DIRECT) { in EncodeInvoke()
453 Encode3rc(InvokeToInvokeRange(opcode), in EncodeInvoke()
458 Encode35c(opcode, in EncodeInvoke()
494 CHECK_EQ(Instruction::Op::kNew, instruction.opcode()); in EncodeNew()
506 CHECK_EQ(Instruction::Op::kCheckCast, instruction.opcode()); in EncodeCast()