Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:Ivar

514 static void emitStructGetterCall(CodeGenFunction &CGF, ObjCIvarDecl *ivar, 
520 ivar, 0).getAddress();
523 // sizeof (Type of Ivar), isAtomic, false);
532 CharUnits size = CGF.getContext().getTypeSizeInChars(ivar->getType());
621 // Evaluate the ivar's size and alignment.
622 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl();
623 QualType ivarType = ivar->getType();
645 // acceptable if the ivar is __strong, which won't be true if
678 if (ivar->isBitField()) {
693 // Compute whether the ivar has strong members.
707 // alignment of the ivar.
709 // If the size of the ivar is not a power of two, give up. We don't
727 // If the ivar's size exceeds the architecture's maximum atomic
760 // Sema only makes only of these when the ivar has a C++ class type,
780 /// copy the ivar into the resturn slot.
783 ObjCIvarDecl *ivar,
792 // The 2nd argument is the address of the ivar.
795 CGF.LoadObjCSelf(), ivar, 0).getAddress();
824 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl();
826 ivar, AtomicHelperFn);
835 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl();
845 LValue LV = EmitLValueForIvar(TypeOfSelfObject(), LoadObjCSelf(), ivar, 0);
879 // Return (ivar-type) objc_getProperty((id) self, _cmd, offset, true).
886 EmitIvarOffset(classImpl->getClassInterface(), ivar);
917 emitStructGetterCall(*this, ivar, strategy.isAtomic(),
923 LValue LV = EmitLValueForIvar(TypeOfSelfObject(), LoadObjCSelf(), ivar, 0);
925 QualType ivarType = ivar->getType();
973 /// from the first formal parameter into the given ivar.
975 ObjCIvarDecl *ivar) {
980 // The first argument is the address of the ivar.
982 CGF.LoadObjCSelf(), ivar, 0)
997 CGF.CGM.getSize(CGF.getContext().getTypeSizeInChars(ivar->getType()));
1016 /// the value from the first formal parameter into the given ivar, using
1020 ObjCIvarDecl *ivar,
1026 // The first argument is the address of the ivar.
1029 CGF.LoadObjCSelf(), ivar, 0).getAddress();
1060 // Sema only makes only of these when the ivar has a C++ class type,
1091 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl();
1102 emitCPPObjectAtomicSetterCall(*this, setterMethod, ivar,
1117 EmitLValueForIvar(TypeOfSelfObject(), LoadObjCSelf(), ivar, /*quals*/ 0);
1172 EmitIvarOffset(classImpl->getClassInterface(), ivar);
1205 emitStructSetterCall(*this, setterMethod, ivar);
1219 ObjCIvarRefExpr ivarRef(ivar, ivar->getType().getNonReferenceType(),
1230 // The property type can differ from the ivar type in some situations with
1286 const ObjCIvarDecl *ivar;
1290 DestroyIvar(llvm::Value *addr, const ObjCIvarDecl *ivar,
1293 : addr(addr), ivar(ivar), destroyer(destroyer),
1298 = CGF.EmitLValueForIvar(CGF.TypeOfSelfObject(), addr, ivar, /*CVR*/ 0);
1299 CGF.emitDestroy(lvalue.getAddress(), ivar->getType(), destroyer,
1320 for (const ObjCIvarDecl *ivar = iface->all_declared_ivar_begin();
1321 ivar; ivar = ivar->getNextIvar()) {
1322 QualType type = ivar->getType();
1324 // Check whether the ivar is a destructible type.
1342 CGF.EHStack.pushCleanup<DestroyIvar>(cleanupKind, self, ivar, destroyer,
1365 ObjCIvarDecl *Ivar = cast<ObjCIvarDecl>(Field);
1367 LoadObjCSelf(), Ivar, 0);