Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:Self

319     // We generally assume that 'self' lives throughout a method call.
363 // safe because the receiver value is always loaded from 'self',
433 // self. This represents the call taking direct ownership of that
435 // arguments because they might also reference self, but we don't
436 // have to worry about any of them modifying self because that would
443 // Do an unsafe store of null into self.
470 // the call back into self. This takes ownership of the value.
499 llvm::Value *self = CGF.LoadObjCSelf();
507 self,
937 // Return (ivar-type) objc_getProperty((id) self, _cmd, offset, true).
942 llvm::Value *self = Builder.CreateBitCast(LoadObjCSelf(), VoidPtrTy);
947 args.add(RValue::get(self), getContext().getObjCIdType());
1221 // Emit objc_setProperty((id) self, _cmd, offset, arg,
1225 llvm::Value *self =
1234 args.add(RValue::get(self), getContext().getObjCIdType());
1267 DeclRefExpr self(selfDecl, false, selfDecl->getType(),
1270 selfDecl->getType(), CK_LValueToRValue, &self,
1370 llvm::Value *self = CGF.LoadObjCSelf();
1395 CGF.EHStack.pushCleanup<DestroyIvar>(cleanupKind, self, ivar, destroyer,
1423 // constructor returns 'self'.
1438 VarDecl *Self = cast<ObjCMethodDecl>(CurFuncDecl)->getSelfDecl();
1439 DeclRefExpr DRE(Self, /*is enclosing local*/ (CurFuncDecl != CurCodeDecl),
1440 Self->getType(), VK_LValue, SourceLocation());