Lines Matching refs:art
33 using Opcode = ::art::Instruction::Code;
48 case ::art::Instruction::INVOKE_VIRTUAL: in InvokeToInvokeRange()
49 return ::art::Instruction::INVOKE_VIRTUAL_RANGE; in InvokeToInvokeRange()
50 case ::art::Instruction::INVOKE_DIRECT: in InvokeToInvokeRange()
51 return ::art::Instruction::INVOKE_DIRECT_RANGE; in InvokeToInvokeRange()
52 case ::art::Instruction::INVOKE_STATIC: in InvokeToInvokeRange()
53 return ::art::Instruction::INVOKE_STATIC_RANGE; in InvokeToInvokeRange()
54 case ::art::Instruction::INVOKE_INTERFACE: in InvokeToInvokeRange()
55 return ::art::Instruction::INVOKE_INTERFACE_RANGE; in InvokeToInvokeRange()
169 return TypeDescriptor{art::DotToDescriptor(name.c_str())}; in FromClassname()
210 ir::Type* type_def = GetOrAddType(art::DotToDescriptor(name.c_str())); in MakeClass()
214 class_def->super_class = GetOrAddType(art::DotToDescriptor("java.lang.Object")); in MakeClass()
339 return EncodeReturn(instruction, ::art::Instruction::RETURN); in EncodeInstruction()
341 return EncodeReturn(instruction, ::art::Instruction::RETURN_OBJECT); in EncodeInstruction()
346 return EncodeInvoke(instruction, art::Instruction::INVOKE_VIRTUAL); in EncodeInstruction()
348 return EncodeInvoke(instruction, art::Instruction::INVOKE_DIRECT); in EncodeInstruction()
350 return EncodeInvoke(instruction, art::Instruction::INVOKE_STATIC); in EncodeInstruction()
352 return EncodeInvoke(instruction, art::Instruction::INVOKE_INTERFACE); in EncodeInstruction()
356 return EncodeBranch(art::Instruction::IF_EQZ, instruction); in EncodeInstruction()
358 return EncodeBranch(art::Instruction::IF_NEZ, instruction); in EncodeInstruction()
366 void MethodBuilder::EncodeReturn(const Instruction& instruction, ::art::Instruction::Code opcode) { in EncodeReturn()
369 Encode10x(art::Instruction::RETURN_VOID); in EncodeReturn()
389 Encode11n(art::Instruction::CONST_4, RegisterValue(*instruction.dest()), source.value()); in EncodeMove()
394 Encode21c(::art::Instruction::CONST_STRING, RegisterValue(*instruction.dest()), source.value()); in EncodeMove()
401 ? ::art::Instruction::MOVE_16 in EncodeMove()
402 : ::art::Instruction::MOVE_OBJECT_16; in EncodeMove()
409 void MethodBuilder::EncodeInvoke(const Instruction& instruction, ::art::Instruction::Code opcode) { in EncodeInvoke()
436 if (opcode == ::art::Instruction::INVOKE_VIRTUAL || in EncodeInvoke()
437 opcode == ::art::Instruction::INVOKE_DIRECT) { in EncodeInvoke()
470 Encode11x(instruction.result_is_object() ? art::Instruction::MOVE_RESULT_OBJECT in EncodeInvoke()
471 : art::Instruction::MOVE_RESULT, in EncodeInvoke()
479 void MethodBuilder::EncodeBranch(art::Instruction::Code op, const Instruction& instruction) { in EncodeBranch()
502 Encode21c(::art::Instruction::NEW_INSTANCE, RegisterValue(*instruction.dest()), type.value()); in EncodeNew()
514 Encode21c(::art::Instruction::CHECK_CAST, RegisterValue(*instruction.dest()), type.value()); in EncodeCast()