Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:ivar

486 static void emitStructGetterCall(CodeGenFunction &CGF, ObjCIvarDecl *ivar, 
492 ivar, 0).getAddress();
495 // sizeof (Type of Ivar), isAtomic, false);
504 CharUnits size = CGF.getContext().getTypeSizeInChars(ivar->getType());
593 // Evaluate the ivar's size and alignment.
594 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl();
595 QualType ivarType = ivar->getType();
617 // acceptable if the ivar is __strong, which won't be true if
650 if (ivar->isBitField()) {
665 // Compute whether the ivar has strong members.
679 // alignment of the ivar.
681 // If the size of the ivar is not a power of two, give up. We don't
699 // If the ivar's size exceeds the architecture's maximum atomic
732 // Sema only makes only of these when the ivar has a C++ class type,
752 /// copy the ivar into the resturn slot.
755 ObjCIvarDecl *ivar,
764 // The 2nd argument is the address of the ivar.
767 CGF.LoadObjCSelf(), ivar, 0).getAddress();
796 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl();
798 ivar, AtomicHelperFn);
807 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl();
817 LValue LV = EmitLValueForIvar(TypeOfSelfObject(), LoadObjCSelf(), ivar, 0);
851 // Return (ivar-type) objc_getProperty((id) self, _cmd, offset, true).
858 EmitIvarOffset(classImpl->getClassInterface(), ivar);
889 emitStructGetterCall(*this, ivar, strategy.isAtomic(),
895 LValue LV = EmitLValueForIvar(TypeOfSelfObject(), LoadObjCSelf(), ivar, 0);
897 QualType ivarType = ivar->getType();
945 /// from the first formal parameter into the given ivar.
947 ObjCIvarDecl *ivar) {
952 // The first argument is the address of the ivar.
954 CGF.LoadObjCSelf(), ivar, 0)
969 CGF.CGM.getSize(CGF.getContext().getTypeSizeInChars(ivar->getType()));
988 /// the value from the first formal parameter into the given ivar, using
992 ObjCIvarDecl *ivar,
998 // The first argument is the address of the ivar.
1001 CGF.LoadObjCSelf(), ivar, 0).getAddress();
1032 // Sema only makes only of these when the ivar has a C++ class type,
1063 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl();
1074 emitCPPObjectAtomicSetterCall(*this, setterMethod, ivar,
1089 EmitLValueForIvar(TypeOfSelfObject(), LoadObjCSelf(), ivar, /*quals*/ 0);
1144 EmitIvarOffset(classImpl->getClassInterface(), ivar);
1177 emitStructSetterCall(*this, setterMethod, ivar);
1191 ObjCIvarRefExpr ivarRef(ivar, ivar->getType().getNonReferenceType(),
1201 // The property type can differ from the ivar type in some situations with
1257 const ObjCIvarDecl *ivar;
1261 DestroyIvar(llvm::Value *addr, const ObjCIvarDecl *ivar,
1264 : addr(addr), ivar(ivar), destroyer(destroyer),
1269 = CGF.EmitLValueForIvar(CGF.TypeOfSelfObject(), addr, ivar, /*CVR*/ 0);
1270 CGF.emitDestroy(lvalue.getAddress(), ivar->getType(), destroyer,
1291 for (const ObjCIvarDecl *ivar = iface->all_declared_ivar_begin();
1292 ivar; ivar = ivar->getNextIvar()) {
1293 QualType type = ivar->getType();
1295 // Check whether the ivar is a destructible type.
1313 CGF.EHStack.pushCleanup<DestroyIvar>(cleanupKind, self, ivar, destroyer,
1336 ObjCIvarDecl *Ivar = cast<ObjCIvarDecl>(Field);
1338 LoadObjCSelf(), Ivar, 0);