Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:Ivar

569 static void emitStructGetterCall(CodeGenFunction &CGF, ObjCIvarDecl *ivar, 
574 CGF.EmitLValueForIvar(CGF.TypeOfSelfObject(), CGF.LoadObjCSelf(), ivar, 0)
578 // sizeof (Type of Ivar), isAtomic, false);
587 CharUnits size = CGF.getContext().getTypeSizeInChars(ivar->getType());
674 // Evaluate the ivar's size and alignment.
675 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl();
676 QualType ivarType = ivar->getType();
698 // acceptable if the ivar is __strong, which won't be true if
731 if (ivar->isBitField()) {
746 // Compute whether the ivar has strong members.
760 // alignment of the ivar.
762 // If the size of the ivar is not a power of two, give up. We don't
780 // If the ivar's size exceeds the architecture's maximum atomic
813 // Sema only makes only of these when the ivar has a C++ class type,
833 /// copy the ivar into the resturn slot.
836 ObjCIvarDecl *ivar,
845 // The 2nd argument is the address of the ivar.
848 CGF.LoadObjCSelf(), ivar, 0).getPointer();
875 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl();
877 ivar, AtomicHelperFn);
886 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl();
896 LValue LV = EmitLValueForIvar(TypeOfSelfObject(), LoadObjCSelf(), ivar, 0);
937 // Return (ivar-type) objc_getProperty((id) self, _cmd, offset, true).
944 EmitIvarOffset(classImpl->getClassInterface(), ivar);
979 emitStructGetterCall(*this, ivar, strategy.isAtomic(),
985 LValue LV = EmitLValueForIvar(TypeOfSelfObject(), LoadObjCSelf(), ivar, 0);
987 QualType ivarType = ivar->getType();
1037 /// from the first formal parameter into the given ivar.
1039 ObjCIvarDecl *ivar) {
1044 // The first argument is the address of the ivar.
1046 CGF.LoadObjCSelf(), ivar, 0)
1061 CGF.CGM.getSize(CGF.getContext().getTypeSizeInChars(ivar->getType()));
1078 /// the value from the first formal parameter into the given ivar, using
1082 ObjCIvarDecl *ivar,
1088 // The first argument is the address of the ivar.
1091 CGF.LoadObjCSelf(), ivar, 0).getPointer();
1118 // Sema only makes only of these when the ivar has a C++ class type,
1149 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl();
1160 emitCPPObjectAtomicSetterCall(*this, setterMethod, ivar,
1175 EmitLValueForIvar(TypeOfSelfObject(), LoadObjCSelf(), ivar, /*quals*/ 0);
1228 EmitIvarOffset(classImpl->getClassInterface(), ivar);
1258 ivar);
1272 ObjCIvarRefExpr ivarRef(ivar, ivar->getType().getNonReferenceType(),
1283 // The property type can differ from the ivar type in some situations with
1339 const ObjCIvarDecl *ivar;
1343 DestroyIvar(llvm::Value *addr, const ObjCIvarDecl *ivar,
1346 : addr(addr), ivar(ivar), destroyer(destroyer),
1351 = CGF.EmitLValueForIvar(CGF.TypeOfSelfObject(), addr, ivar, /*CVR*/ 0);
1352 CGF.emitDestroy(lvalue.getAddress(), ivar->getType(), destroyer,
1373 for (const ObjCIvarDecl *ivar = iface->all_declared_ivar_begin();
1374 ivar; ivar = ivar->getNextIvar()) {
1375 QualType type = ivar->getType();
1377 // Check whether the ivar is a destructible type.
1395 CGF.EHStack.pushCleanup<DestroyIvar>(cleanupKind, self, ivar, destroyer,
1415 ObjCIvarDecl *Ivar = cast<ObjCIvarDecl>(Field);
1417 LoadObjCSelf(), Ivar, 0);