Home
last modified time | relevance | path

Searched refs:receiver (Results 1 – 25 of 37) sorted by relevance

12

/art/compiler/optimizing/
Dcha_guard_optimization.cc54 bool OptimizeForParameter(HShouldDeoptimizeFlag* flag, HInstruction* receiver);
56 bool OptimizeWithDominatingGuard(HShouldDeoptimizeFlag* flag, HInstruction* receiver);
58 bool HoistGuard(HShouldDeoptimizeFlag* flag, HInstruction* receiver);
106 HInstruction* receiver) { in OptimizeForParameter() argument
115 if (receiver->IsParameterValue()) { in OptimizeForParameter()
123 HInstruction* receiver) { in OptimizeWithDominatingGuard() argument
130 HBasicBlock* receiver_def_block = receiver->GetBlock(); in OptimizeWithDominatingGuard()
158 while (instruction != receiver) { in OptimizeWithDominatingGuard()
162 DCHECK(receiver->IsPhi()); in OptimizeWithDominatingGuard()
175 HInstruction* receiver) { in HoistGuard() argument
[all …]
Dinliner.cc204 HInstruction* receiver = invoke->InputAt(0); in FindVirtualOrInterfaceTarget() local
205 if (receiver->IsNullCheck()) { in FindVirtualOrInterfaceTarget()
208 receiver = receiver->InputAt(0); in FindVirtualOrInterfaceTarget()
210 ReferenceTypeInfo info = receiver->GetReferenceTypeInfo(); in FindVirtualOrInterfaceTarget()
211 DCHECK(info.IsValid()) << "Invalid RTI for " << receiver->DebugName(); in FindVirtualOrInterfaceTarget()
703 HInstruction* receiver, in BuildGetReceiverClass() argument
708 receiver, in BuildGetReceiverClass()
777 HInstruction* receiver = invoke_instruction->InputAt(0); in TryInlineMonomorphicCall() local
789 AddTypeGuard(receiver, in TryInlineMonomorphicCall()
836 HInstruction* HInliner::AddTypeGuard(HInstruction* receiver, in AddTypeGuard() argument
[all …]
Dreference_type_propagation.cc211 static void BoundTypeIn(HInstruction* receiver, in BoundTypeIn() argument
218 DCHECK(!receiver->IsLoadClass()) << "We should not replace HLoadClass instructions"; in BoundTypeIn()
219 const HUseList<HInstruction*>& uses = receiver->GetUses(); in BoundTypeIn()
237 insert_point, receiver, class_rti, start_instruction, start_block)) { in BoundTypeIn()
238 bound_type = new (receiver->GetBlock()->GetGraph()->GetArena()) HBoundType(receiver); in BoundTypeIn()
254 if (receiver->IsNullCheck()) { in BoundTypeIn()
255 BoundTypeIn(receiver->InputAt(0), start_block, start_instruction, class_rti); in BoundTypeIn()
291 HInstruction* receiver = field_get->InputAt(0); in BoundTypeForClassCheck() local
292 ReferenceTypeInfo receiver_type = receiver->GetReferenceTypeInfo(); in BoundTypeForClassCheck()
312 BoundTypeIn(receiver, trueBlock, /* start_instruction */ nullptr, class_rti); in BoundTypeForClassCheck()
Dinliner.h200 HInstruction* receiver,
227 HInstruction* AddTypeGuard(HInstruction* receiver,
Dinstruction_simplifier.cc1169 HInstruction* receiver = field_get->InputAt(0); in RecognizeAndSimplifyClassCheck() local
1170 ReferenceTypeInfo receiver_type = receiver->GetReferenceTypeInfo(); in RecognizeAndSimplifyClassCheck()
1743 HInstruction* receiver = instruction->InputAt(0); in SimplifyStringEquals() local
1744 if (receiver == argument) { in SimplifyStringEquals()
2022 HInstruction* receiver = invoke->InputAt(0); in SimplifyReturnThis() local
2023 invoke->ReplaceWith(receiver); in SimplifyReturnThis()
2062 HInstruction* receiver = invoke->InputAt(0); in SimplifyAllocationIntrinsic() local
2063 if (!is_synchronized || DoesNotEscape(receiver, NoEscapeForStringBufferReference)) { in SimplifyAllocationIntrinsic()
/art/runtime/
Dreflection_test.cc88 ObjPtr<mirror::Object>* receiver, in ReflectionTestMakeExecutable() argument
116 *receiver = nullptr; in ReflectionTestMakeExecutable()
125 *receiver = c->AllocObject(self); in ReflectionTestMakeExecutable()
129 HandleWrapperObjPtr<mirror::Object> h(hs.NewHandleWrapper(receiver)); in ReflectionTestMakeExecutable()
138 ObjPtr<mirror::Object> receiver; in InvokeNopMethod() local
139 ReflectionTestMakeExecutable(&method, &receiver, is_static, "nop", "()V"); in InvokeNopMethod()
140 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeNopMethod()
147 ObjPtr<mirror::Object> receiver; in InvokeIdentityByteMethod() local
148 ReflectionTestMakeExecutable(&method, &receiver, is_static, "identity", "(B)B"); in InvokeIdentityByteMethod()
149 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeIdentityByteMethod()
[all …]
Dreflection.cc102 ObjPtr<mirror::Object> receiver, in BuildArgArrayFromVarArgs() argument
106 if (receiver != nullptr) { in BuildArgArrayFromVarArgs()
107 Append(receiver); in BuildArgArrayFromVarArgs()
139 ObjPtr<mirror::Object> receiver, jvalue* args) in BuildArgArrayFromJValues() argument
142 if (receiver != nullptr) { in BuildArgArrayFromJValues()
143 Append(receiver); in BuildArgArrayFromJValues()
220 bool BuildArgArrayFromObjectArray(ObjPtr<mirror::Object> receiver, in BuildArgArrayFromObjectArray() argument
227 if (receiver != nullptr) { in BuildArgArrayFromObjectArray()
228 Append(receiver); in BuildArgArrayFromObjectArray()
440 static ArtMethod* FindVirtualMethod(ObjPtr<mirror::Object> receiver, ArtMethod* method) in FindVirtualMethod() argument
[all …]
Dmethod_handles.cc560 Handle<mirror::MethodHandle> receiver, in DoCallTransform() argument
610 new_shadow_frame->SetVRegReference(0, receiver.Get()); in DoCallTransform()
662 ObjPtr<mirror::Object> receiver(shadow_frame.GetVRegReference(receiver_reg)); in RefineTargetMethod() local
667 receiver = ObjPtr<mirror::EmulatedStackFrame>::DownCast(receiver)->GetReceiver(); in RefineTargetMethod()
671 if (receiver == nullptr || receiver->GetClass() != declaring_class) { in RefineTargetMethod()
674 if (!VerifyObjectIsClass(receiver, declaring_class)) { in RefineTargetMethod()
678 return receiver->GetClass()->FindVirtualMethodForVirtualOrInterface( in RefineTargetMethod()
Dreflection.h90 jobject receiver,
Dart_method.cc338 mirror::Object* receiver = in Invoke() local
341 self, this, receiver, args + 1, result, /*stay_in_interpreter*/ true); in Invoke()
Ddebugger.h62 : request_id(invoke_request_id), thread_id(invoke_thread_id), receiver(invoke_receiver), in DebugInvokeReq()
74 GcRoot<mirror::Object> receiver; // not used for ClassType.InvokeMethod. member
/art/runtime/interpreter/
Dinterpreter_common.h127 ObjPtr<mirror::Object> receiver = (type == kStatic) in DoFastInvoke() local
132 method_idx, &receiver, sf_method, self); in DoFastInvoke()
146 jit->InvokeVirtualOrInterface(receiver, sf_method, shadow_frame.GetDexPC(), called_method); in DoFastInvoke()
170 …ObjPtr<mirror::Object> receiver = (type == kStatic) ? nullptr : shadow_frame.GetVRegReference(vreg… in DoInvoke() local
173 method_idx, &receiver, sf_method, self); in DoInvoke()
187 jit->InvokeVirtualOrInterface(receiver, sf_method, shadow_frame.GetDexPC(), called_method); in DoInvoke()
196 self, receiver.Ptr(), sf_method, shadow_frame.GetDexPC(), called_method); in DoInvoke()
227 ObjPtr<mirror::Object> const receiver = shadow_frame.GetVRegReference(vregC); in DoInvokeVirtualQuick() local
228 if (UNLIKELY(receiver == nullptr)) { in DoInvokeVirtualQuick()
237 CHECK(receiver->GetClass() != nullptr) in DoInvokeVirtualQuick()
[all …]
Dunstarted_runtime.h59 mirror::Object* receiver,
82 mirror::Object* receiver, \
Dunstarted_runtime.cc676 Handle<mirror::Object> receiver = hs.NewHandle(c->AllocObject(self)); in UnstartedConstructorNewInstance0() local
677 if (receiver == nullptr) { in UnstartedConstructorNewInstance0()
688 soa.AddLocalReference<jobject>(receiver.Get())); in UnstartedConstructorNewInstance0()
696 result->SetL(receiver.Get()); in UnstartedConstructorNewInstance0()
1636 Thread* self, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver ATTRIBUTE_UNUSED, in UnstartedJNIVMRuntimeNewUnpaddedArray()
1655 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args ATTRIBUTE_UNUSED, JValue* result) { in UnstartedJNIVMStackGetCallingClassLoader()
1660 Thread* self, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver ATTRIBUTE_UNUSED, in UnstartedJNIVMStackGetStackClass2()
1671 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args, JValue* result) { in UnstartedJNIMathLog()
1679 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args, JValue* result) { in UnstartedJNIMathExp()
1688 mirror::Object* receiver ATTRIBUTE_UNUSED, in UnstartedJNIAtomicLongVMSupportsCS8()
[all …]
Dinterpreter.cc47 ObjPtr<mirror::Object> receiver, in InterpreterJni() argument
190 soa.AddLocalReference<jobject>(receiver)); in InterpreterJni()
201 soa.AddLocalReference<jobject>(receiver)); in InterpreterJni()
208 soa.AddLocalReference<jobject>(receiver)); in InterpreterJni()
222 soa.AddLocalReference<jobject>(receiver)); in InterpreterJni()
364 ObjPtr<mirror::Object> receiver, in EnterInterpreterFromInvoke() argument
411 CHECK(receiver != nullptr); in EnterInterpreterFromInvoke()
412 shadow_frame->SetVRegReference(cur_reg, receiver.Ptr()); in EnterInterpreterFromInvoke()
462 UnstartedRuntime::Jni(self, method, receiver.Ptr(), args, result); in EnterInterpreterFromInvoke()
464 InterpreterJni(self, method, shorty, receiver, args, result); in EnterInterpreterFromInvoke()
[all …]
Dinterpreter.h40 ObjPtr<mirror::Object> receiver,
/art/test/988-method-trace/
Dgen_srcs.py253 receiver = method_info.klass
255 receiver = "instance_" + method_info.klass.replace(".", "_")
256 return receiver
261 receiver = format_receiver_name(method_info)
263 return ("%s.%s(%s);" %(receiver, method_info.method_name, dummy_args))
/art/runtime/native/
Djava_lang_reflect_Constructor.cc111 ObjPtr<mirror::Object> receiver = in Constructor_newInstance0() local
113 if (receiver == nullptr) { in Constructor_newInstance0()
116 jobject javaReceiver = soa.AddLocalReference<jobject>(receiver); in Constructor_newInstance0()
Djava_lang_Class.cc716 auto receiver = hs.NewHandle(klass->AllocObject(soa.Self())); in Class_newInstance() local
717 if (UNLIKELY(receiver == nullptr)) { in Class_newInstance()
727 if (UNLIKELY(caller != nullptr && !VerifyAccess(receiver.Get(), in Class_newInstance()
747 uint32_t args[1] = { static_cast<uint32_t>(reinterpret_cast<uintptr_t>(receiver.Get())) }; in Class_newInstance()
753 return soa.AddLocalReference<jobject>(receiver.Get()); in Class_newInstance()
/art/test/800-smali/smali/
Db_20224106.smali13 # 2) The receiver is not an interface or Object
/art/test/135-MirandaDispatch/smali/
Db_21646347.smali3 # If an invoke-virtual dispatches to a miranda method, ensure that we test for the receiver
/art/test/954-invoke-polymorphic-verifier/smali/
DUnresolved.smali30 # Calling MethodHandle.invoke() on unresolved receiver.
/art/test/954-invoke-polymorphic-verifier/
Dexpected.txt10 …<init>() failed to verify: void Unresolved.<init>(): invoke-polymorphic receiver has no class: Unr…
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc904 ArtMethod* proxy_method, mirror::Object* receiver, Thread* self, ArtMethod** sp) in artQuickProxyInvokeHandler() argument
907 DCHECK(receiver->GetClass()->IsProxyClass()) << proxy_method->PrettyMethod(); in artQuickProxyInvokeHandler()
919 jobject rcvr_jobj = soa.AddLocalReference<jobject>(receiver); in artQuickProxyInvokeHandler()
1064 ArtMethod* called, mirror::Object* receiver, Thread* self, ArtMethod** sp) in artQuickResolutionTrampoline() argument
1183 hs.NewHandleWrapper(virtual_or_interface ? &receiver : &dummy)); in artQuickResolutionTrampoline()
1224 CHECK(receiver != nullptr) << invoke_type; in artQuickResolutionTrampoline()
1225 called = receiver->GetClass()->FindVirtualMethodForVirtual(called, kRuntimePointerSize); in artQuickResolutionTrampoline()
1227 CHECK(receiver != nullptr) << invoke_type; in artQuickResolutionTrampoline()
1228 called = receiver->GetClass()->FindVirtualMethodForInterface(called, kRuntimePointerSize); in artQuickResolutionTrampoline()
1252 << mirror::Object::PrettyTypeOf(receiver) << " " in artQuickResolutionTrampoline()
/art/runtime/interpreter/mterp/
Dmterp.cc273 ObjPtr<mirror::Object> const receiver = shadow_frame->GetVRegReference(vregC); in MterpInvokeVirtualQuick() local
274 if (receiver != nullptr) { in MterpInvokeVirtualQuick()
275 ArtMethod* const called_method = receiver->GetClass()->GetEmbeddedVTableEntry( in MterpInvokeVirtualQuick()
282 receiver, shadow_frame->GetMethod(), shadow_frame->GetDexPC(), called_method); in MterpInvokeVirtualQuick()

12