Lines Matching defs:receiver
78 // Generate a reference to the class pointer, which will be the receiver.
219 // Generate a reference to the class pointer, which will be the receiver.
288 /// Decide whether to extend the lifetime of the receiver of a
295 // receiver is loaded from a variable with precise lifetime.
297 const Expr *receiver = message->getInstanceReceiver();
300 if (auto opaque = dyn_cast<OpaqueValueExpr>(receiver)) {
302 receiver = opaque->getSourceExpr()->IgnoreParens();
305 const ImplicitCastExpr *ice = dyn_cast<ImplicitCastExpr>(receiver);
307 receiver = ice->getSubExpr()->IgnoreParens();
310 if (auto opaque = dyn_cast<OpaqueValueExpr>(receiver)) {
312 receiver = opaque->getSourceExpr()->IgnoreParens();
316 if (receiver->getType().getObjCLifetime() != Qualifiers::OCL_Strong)
320 if (isa<MemberExpr>(receiver) || isa<ObjCIvarRefExpr>(receiver))
345 llvm_unreachable("invalid receiver kind");
537 // Okay, this is '[receiver init]', check if 'receiver' is '[cls alloc]'
576 // implementation vary between runtimes. We can get the receiver and
583 // If the method is -retain, and the receiver's being loaded from
597 // We don't retain the receiver in delegate init calls, and this is
598 // safe because the receiver value is always loaded from 'self',
611 // Find the receiver
2998 // whether the receiver of a message is null.