Lines Matching refs:Ivars
393 SmallVectorImpl<ObjCIvarDecl *> &IVars);
963 assert(IMD && OID && "Synthesized ivars must be attached to @implementation");
3869 SmallVector<const ObjCIvarDecl *, 8> IVars;
3872 IVars.push_back(IVD);
3874 for (unsigned i = 0, e = IVars.size(); i < e; i++)
3875 if (IVars[i]->isBitField()) {
3876 IvarGroupNumber[IVars[i++]] = ++GroupNo;
3877 while (i < e && IVars[i]->isBitField())
3878 IvarGroupNumber[IVars[i++]] = GroupNo;
3889 SmallVectorImpl<ObjCIvarDecl *> &IVars) {
3896 for (unsigned i=0, e = IVars.size(); i < e; i++) {
3897 ObjCIvarDecl *Ivar = IVars[i];
3915 SmallVector<ObjCIvarDecl *, 8> IVars;
3919 IVars.push_back(const_cast<ObjCIvarDecl *>(IVD));
3921 if (!IVars.empty()) {
3922 unsigned GroupNo = ObjCIvarBitfieldGroupNo(IVars[0]);
3923 // Generate the struct type for this group of bitfield ivars.
3925 SynthesizeBitfieldGroupStructType(IVars[0], IVars);
3926 IVars.clear();
3930 if (!IVars.empty()) {
3932 unsigned GroupNo = ObjCIvarBitfieldGroupNo(IVars[0]);
3934 SynthesizeBitfieldGroupStructType(IVars[0], IVars);
3984 /// an objective-c class with ivars.
3991 SmallVector<ObjCIvarDecl *, 8> IVars;
3994 IVars.push_back(IVD);
4002 // If no ivars and no root or if its root, directly or indirectly,
4003 // have no ivars (thus not synthesized) then no need to synthesize this class.
4004 if ((!CDecl->isThisDeclarationADefinition() || IVars.size() == 0) &&
4014 for (unsigned i = 0, e = IVars.size(); i < e; i++)
4015 RewriteLocallyDefinedNamedAggregates(IVars[i], Result);
4019 for (unsigned i = 0, e = IVars.size(); i < e; i++)
4020 if (IVars[i]->isBitField()) {
4021 ObjCIvarDecl *IV = IVars[i];
4026 SKIP_BITFIELDS(i , e, IVars);
4039 for (unsigned i = 0, e = IVars.size(); i < e; i++) {
4040 if (IVars[i]->isBitField()) {
4041 ObjCIvarDecl *IV = IVars[i];
4046 SKIP_BITFIELDS(i , e, IVars);
4049 RewriteObjCFieldDecl(IVars[i], Result);
4060 /// RewriteIvarOffsetSymbols - Rewrite ivar offset symbols of those ivars which
4066 llvm::SmallPtrSet<ObjCIvarDecl *, 8> Ivars = ReferencedIvars[CDecl];
4067 if (Ivars.empty())
4071 for (llvm::SmallPtrSet<ObjCIvarDecl *, 8>::iterator i = Ivars.begin(),
4072 e = Ivars
5995 // private ivars.
6282 /// const struct _ivar_list_t *ivars;
6367 Result += "\tconst struct _ivar_list_t *ivars;\n";
6551 ArrayRef<ObjCIvarDecl *>ivars,
6591 if (!metaclass && ivars.size() > 0) {
6863 ArrayRef<ObjCIvarDecl *> Ivars,
6877 for (unsigned i =0, e = Ivars.size(); i < e; i++) {
6878 ObjCIvarDecl *IvarDecl = Ivars[i];
6888 if (Ivars[i]->isBitField())
6896 if (Ivars[i]->isBitField()) {
6898 SKIP_BITFIELDS(i , e, Ivars);
6910 SmallVector<ObjCIvarDecl *, 8> Ivars;
6911 // strip off all but the first ivar bitfield from each group of ivars.
6912 // Such ivars in the ivar list table will be replaced by their grouping struct
6916 Ivars.push_back(OriginalIvars[i]);
6921 Ivars.push_back(OriginalIvars[i]);
6925 Write__ivar_list_t_TypeDecl(Result, Ivars.size());
6930 Result += "\t"; Result += utostr(Ivars.size()); Result += ",\n";
6931 for (unsigned i =0, e = Ivars.size(); i < e; i++) {
6932 ObjCIvarDecl *IvarDecl = Ivars[i];
6938 if (Ivars[i]->isBitField())
6945 if (Ivars[i]->isBitField())
6946 RewriteObj.ObjCIvarBitfieldGroupDecl(Ivars[i], Result);
7195 SmallVector<ObjCIvarDecl *, 8> IVars;
7202 IVars.push_back(IVD);
7205 Write__ivar_list_t_initializer(*this, Context, Result, IVars,
7326 IVars,