Lines Matching defs:receiver
77 // Generate a reference to the class pointer, which will be the receiver.
218 // Generate a reference to the class pointer, which will be the receiver.
287 /// Decide whether to extend the lifetime of the receiver of a
294 // receiver is loaded from a variable with precise lifetime.
296 const Expr *receiver = message->getInstanceReceiver();
299 if (auto opaque = dyn_cast<OpaqueValueExpr>(receiver)) {
301 receiver = opaque->getSourceExpr()->IgnoreParens();
304 const ImplicitCastExpr *ice = dyn_cast<ImplicitCastExpr>(receiver);
306 receiver = ice->getSubExpr()->IgnoreParens();
309 if (auto opaque = dyn_cast<OpaqueValueExpr>(receiver)) {
311 receiver = opaque->getSourceExpr()->IgnoreParens();
315 if (receiver->getType().getObjCLifetime() != Qualifiers::OCL_Strong)
319 if (isa<MemberExpr>(receiver) || isa<ObjCIvarRefExpr>(receiver))
344 llvm_unreachable("invalid receiver kind");
536 // Okay, this is '[receiver init]', check if 'receiver' is '[cls alloc]'
575 // implementation vary between runtimes. We can get the receiver and
582 // If the method is -retain, and the receiver's being loaded from
596 // We don't retain the receiver in delegate init calls, and this is
597 // safe because the receiver value is always loaded from 'self',
610 // Find the receiver
2997 // whether the receiver of a message is null.