Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:ivar

517 static void emitStructGetterCall(CodeGenFunction &CGF, ObjCIvarDecl *ivar, 
523 ivar, 0).getAddress();
526 // sizeof (Type of Ivar), isAtomic, false);
535 CharUnits size = CGF.getContext().getTypeSizeInChars(ivar->getType());
624 // Evaluate the ivar's size and alignment.
625 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl();
626 QualType ivarType = ivar->getType();
648 // acceptable if the ivar is __strong, which won't be true if
681 if (ivar->isBitField()) {
696 // Compute whether the ivar has strong members.
710 // alignment of the ivar.
712 // If the size of the ivar is not a power of two, give up. We don't
730 // If the ivar's size exceeds the architecture's maximum atomic
763 // Sema only makes only of these when the ivar has a C++ class type,
783 /// copy the ivar into the resturn slot.
786 ObjCIvarDecl *ivar,
795 // The 2nd argument is the address of the ivar.
798 CGF.LoadObjCSelf(), ivar, 0).getAddress();
827 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl();
829 ivar, AtomicHelperFn);
838 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl();
848 LValue LV = EmitLValueForIvar(TypeOfSelfObject(), LoadObjCSelf(), ivar, 0);
882 // Return (ivar-type) objc_getProperty((id) self, _cmd, offset, true).
889 EmitIvarOffset(classImpl->getClassInterface(), ivar);
925 emitStructGetterCall(*this, ivar, strategy.isAtomic(),
931 LValue LV = EmitLValueForIvar(TypeOfSelfObject(), LoadObjCSelf(), ivar, 0);
933 QualType ivarType = ivar->getType();
981 /// from the first formal parameter into the given ivar.
983 ObjCIvarDecl *ivar) {
988 // The first argument is the address of the ivar.
990 CGF.LoadObjCSelf(), ivar, 0)
1005 CGF.CGM.getSize(CGF.getContext().getTypeSizeInChars(ivar->getType()));
1024 /// the value from the first formal parameter into the given ivar, using
1028 ObjCIvarDecl *ivar,
1034 // The first argument is the address of the ivar.
1037 CGF.LoadObjCSelf(), ivar, 0).getAddress();
1066 // Sema only makes only of these when the ivar has a C++ class type,
1097 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl();
1108 emitCPPObjectAtomicSetterCall(*this, setterMethod, ivar,
1123 EmitLValueForIvar(TypeOfSelfObject(), LoadObjCSelf(), ivar, /*quals*/ 0);
1178 EmitIvarOffset(classImpl->getClassInterface(), ivar);
1211 emitStructSetterCall(*this, setterMethod, ivar);
1225 ObjCIvarRefExpr ivarRef(ivar, ivar->getType().getNonReferenceType(),
1236 // The property type can differ from the ivar type in some situations with
1292 const ObjCIvarDecl *ivar;
1296 DestroyIvar(llvm::Value *addr, const ObjCIvarDecl *ivar,
1299 : addr(addr), ivar(ivar), destroyer(destroyer),
1304 = CGF.EmitLValueForIvar(CGF.TypeOfSelfObject(), addr, ivar, /*CVR*/ 0);
1305 CGF.emitDestroy(lvalue.getAddress(), ivar->getType(), destroyer,
1326 for (const ObjCIvarDecl *ivar = iface->all_declared_ivar_begin();
1327 ivar; ivar = ivar->getNextIvar()) {
1328 QualType type = ivar->getType();
1330 // Check whether the ivar is a destructible type.
1348 CGF.EHStack.pushCleanup<DestroyIvar>(cleanupKind, self, ivar, destroyer,
1368 ObjCIvarDecl *Ivar = cast<ObjCIvarDecl>(Field);
1370 LoadObjCSelf(), Ivar, 0);