Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:Receiver

68   // Generate a reference to the class pointer, which will be the receiver.
73 llvm::Value *Receiver = Runtime.GetClass(*this, ClassDecl);
82 BoxingMethod->getResultType(), Sel, Receiver, Args,
158 // Generate a reference to the class pointer, which will be the receiver.
166 llvm::Value *Receiver = Runtime.GetClass(*this, Class);
173 Receiver, Args, Class,
221 /// Decide whether to extend the lifetime of the receiver of a
228 // receiver is loaded from a variable with precise lifetime.
230 const Expr *receiver = message->getInstanceReceiver();
231 const ImplicitCastExpr *ice = dyn_cast<ImplicitCastExpr>(receiver);
233 receiver = ice->getSubExpr()->IgnoreParens();
236 if (receiver->getType().getObjCLifetime() != Qualifiers::OCL_Strong)
240 if (isa<MemberExpr>(receiver) || isa<ObjCIvarRefExpr>(receiver))
265 llvm_unreachable("invalid receiver kind");
271 // implementation vary between runtimes. We can get the receiver and
278 // We don't retain the receiver in delegate init calls, and this is
279 // safe because the receiver value is always loaded from 'self',
292 // Find the receiver
294 llvm::Value *Receiver = 0;
301 Receiver = ter.getPointer();
304 Receiver = EmitScalarExpr(E->getInstanceReceiver());
313 Receiver = Runtime.GetClass(*this, OID);
320 Receiver = LoadObjCSelf();
326 Receiver = LoadObjCSelf();
333 Receiver = EmitARCRetainNonBlock(Receiver);
341 Receiver = EmitARCRetainAutorelease(ReceiverType, Receiver);
377 Receiver,
384 Receiver, Args, OID,
2226 llvm::Value *Receiver = Runtime.EmitNSAutoreleasePoolClassRef(*this);
2234 AllocSel, Receiver, Args);
2236 // [Receiver init]
2237 Receiver = AllocRV.getScalarVal();
2243 InitSel, Receiver, Args);