Lines Matching defs:Self
337 // We generally assume that 'self' lives throughout a method call.
390 // [self alloc] -> objc_alloc(self)
394 // [self allocWithZone:nil] -> objc_allocWithZone(self)
596 // safe because the receiver value is always loaded from 'self',
665 // self. This represents the call taking direct ownership of that
667 // arguments because they might also reference self, but we don't
668 // have to worry about any of them modifying self because that would
675 // Do an unsafe store of null into self.
702 // the call back into self. This takes ownership of the value.
731 llvm::Value *self = CGF.LoadObjCSelf();
739 self,
1187 // Return (ivar-type) objc_getProperty((id) self, _cmd, offset, true).
1192 llvm::Value *self = Builder.CreateBitCast(LoadObjCSelf(), VoidPtrTy);
1197 args.add(RValue::get(self), getContext().getObjCIdType());
1474 // Emit objc_setProperty((id) self, _cmd, offset, arg,
1478 llvm::Value *self =
1487 args.add(RValue::get(self), getContext().getObjCIdType());
1522 DeclRefExpr self(getContext(), selfDecl, false, selfDecl->getType(),
1525 CK_LValueToRValue, &self, VK_RValue,
1623 llvm::Value *self = CGF.LoadObjCSelf();
1648 CGF.EHStack.pushCleanup<DestroyIvar>(cleanupKind, self, ivar, destroyer,
1677 // constructor returns 'self'.
1692 VarDecl *Self = cast<ObjCMethodDecl>(CurFuncDecl)->getSelfDecl();
1693 DeclRefExpr DRE(getContext(), Self,
1695 Self->getType(), VK_LValue, SourceLocation());