Home
last modified time | relevance | path

Searched refs:ObjCIvarDecl (Results 1 – 25 of 69) sorted by relevance

123

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DIvarInvalidationChecker.cpp62 typedef llvm::DenseMap<const ObjCIvarDecl*,
128 void markInvalidated(const ObjCIvarDecl *Iv);
192 static const ObjCIvarDecl *findPropertyBackingIvar(
196 const ObjCIvarDecl **FirstIvarDecl);
200 const ObjCIvarDecl *IvarDecl,
291 const ObjCIvarDecl *I = cast<ObjCIvarDecl>(Iv->getCanonicalDecl()); in trackIvar()
305 const ObjCIvarDecl *IvarD = nullptr; in findPropertyBackingIvar()
324 const ObjCIvarDecl *Iv = I->first; in findPropertyBackingIvar()
366 const ObjCIvarDecl *FirstIvarDecl = nullptr; in visit()
553 reportIvarNeedsInvalidation(const ObjCIvarDecl *IvarD, in reportIvarNeedsInvalidation()
[all …]
H A DDirectIvarAssignment.cpp55 typedef llvm::DenseMap<const ObjCIvarDecl*,
95 static const ObjCIvarDecl *findPropertyBackingIvar(const ObjCPropertyDecl *PD, in findPropertyBackingIvar()
99 ObjCIvarDecl *ID = PD->getPropertyIvarDecl(); in findPropertyBackingIvar()
128 const ObjCIvarDecl *ID = findPropertyBackingIvar(PD, InterD, in checkASTDecl()
175 if (const ObjCIvarDecl *D = IvarRef->getDecl()) { in VisitBinaryOperator()
H A DObjCUnusedIVarsChecker.cpp31 typedef llvm::DenseMap<const ObjCIvarDecl*,IVarState> IvarUsageMap;
38 const ObjCIvarDecl *D = Ex->getDecl(); in Scan()
68 const ObjCIvarDecl *ID = D->getPropertyIvarDecl(); in Scan()
121 if (Ivar->getAccessControl() != ObjCIvarDecl::Private || in checkObjCUnusedIvar()
H A DCheckObjCDealloc.cpp70 const ObjCIvarDecl **ID, in isSynthesizedRetainableProperty()
522 const ObjCIvarDecl *IvarDecl = IvarRegion->getDecl(); in diagnoseMissingReleases()
626 const ObjCIvarDecl *IvarDecl = IvarRegion->getDecl(); in findPropertyOnDeallocatingInstance()
889 const ObjCIvarDecl *IvarDecl; in getDeallocReleaseRequirement()
951 ObjCIvarDecl *PropIvarDecl = Prop->getPropertyIvarDecl(); in getValueReleasedByNillingOut()
1073 const ObjCIvarDecl *IvarDecl = PropImpl->getPropertyIvarDecl(); in isNibLoadedIvarWithoutRetain()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGObjCRuntime.h52 class ObjCIvarDecl; variable
81 const ObjCIvarDecl *Ivar);
84 const ObjCIvarDecl *Ivar);
89 const ObjCIvarDecl *Ivar,
268 const ObjCIvarDecl *Ivar,
272 const ObjCIvarDecl *Ivar) = 0;
307 const ObjCIvarDecl *Ivar);
H A DCGObjCRuntime.cpp33 const ObjCIvarDecl *Ivar) { in ComputeIvarBaseOffset()
40 const ObjCIvarDecl *Ivar) { in ComputeIvarBaseOffset()
49 const ObjCIvarDecl *Ivar) { in ComputeBitfieldBitOffset()
57 const ObjCIvarDecl *Ivar, in EmitValueForIvarAtOffset()
H A DCGObjCGNU.cpp527 const ObjCIvarDecl *Ivar) { in GetIVarOffsetVariableName()
534 const ObjCIvarDecl *Ivar);
653 const ObjCIvarDecl *Ivar) override;
1607 const ObjCIvarDecl *Ivar) override { in EmitIvarOffset()
1764 (IVD->getAccessControl() == ObjCIvarDecl::Private || in GenerateClass()
1765 IVD->getAccessControl() == ObjCIvarDecl::Package || in GenerateClass()
3326 for (const ObjCIvarDecl *IVD = ClassDecl->all_declared_ivar_begin(); IVD; in GenerateClass()
3927 const ObjCIvarDecl *Ivar) { in ObjCIvarOffsetVariable()
3943 const ObjCIvarDecl *Ivar, in EmitObjCValueForIvar()
3954 for (const ObjCIvarDecl *next = OID->all_declared_ivar_begin(); next; in FindIvarInterface()
[all …]
H A DCGObjC.cpp772 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in PropertyImplStrategy()
933 ObjCIvarDecl *ivar, in emitCPPObjectAtomicGetterCall()
974 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in generateObjCGetterBody()
985 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in generateObjCGetterBody()
1140 ObjCIvarDecl *ivar) { in emitStructSetterCall()
1185 ObjCIvarDecl *ivar, in emitCPPObjectAtomicSetterCall()
1254 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in generateObjCSetterBody()
1447 const ObjCIvarDecl *ivar;
1451 DestroyIvar(llvm::Value *addr, const ObjCIvarDecl *ivar, in DestroyIvar()
1481 for (const ObjCIvarDecl *ivar = iface->all_declared_ivar_begin(); in emitCXXDestructMethod()
[all …]
H A DCGObjCMac.cpp1366 const ObjCIvarDecl *Ivar) override;
1433 const ObjCIvarDecl *Ivar,
1498 const ObjCIvarDecl *Ivar);
1534 const ObjCIvarDecl *IV) { in IsIvarOffsetKnownIdempotent()
3429 for (const ObjCIvarDecl *ivar = in hasMRCWeakIvars()
5361 SmallVector<const ObjCIvarDecl*, 32> ivars; in BuildIvarLayout()
6668 Ivar->getAccessControl() == ObjCIvarDecl::Private || in ObjCIvarOffsetVariable()
6669 Ivar->getAccessControl() == ObjCIvarDecl::Package; in ObjCIvarOffsetVariable()
6697 if (Ivar->getAccessControl() == ObjCIvarDecl::Private || in EmitIvarOffsetVar()
6698 Ivar->getAccessControl() == ObjCIvarDecl::Package || in EmitIvarOffsetVar()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclObjC.h54 class ObjCIvarDecl; variable
797 ObjCIvarDecl *PropertyIvarDecl = nullptr;
945 ObjCIvarDecl *getPropertyIvarDecl() const { in getPropertyIvarDecl()
1203 ObjCIvarDecl *IvarList = nullptr;
1482 ObjCIvarDecl *all_declared_ivar_begin();
1945 class ObjCIvarDecl : public FieldDecl {
2004 ObjCIvarDecl *NextIvar = nullptr;
2781 ObjCIvarDecl *PropertyIvarDecl;
2794 ObjCIvarDecl *ivarDecl, in ObjCPropertyImplDecl()
2827 ObjCIvarDecl *getPropertyIvarDecl() const { in getPropertyIvarDecl()
[all …]
H A DExprObjC.h514 ObjCIvarDecl *D;
528 ObjCIvarRefExpr(ObjCIvarDecl *d, QualType t,
543 ObjCIvarDecl *getDecl() { return D; }
544 const ObjCIvarDecl *getDecl() const { return D; }
545 void setDecl(ObjCIvarDecl *d) { D = d; }
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DDeclObjC.cpp79 ObjCIvarDecl *
84 if (auto *ivar = dyn_cast<ObjCIvarDecl>(*Ivar)) in getIvarDecl()
632 if (ObjCIvarDecl *I = ClassDecl->getIvarDecl(ID)) { in lookupInstanceVariable()
638 if (ObjCIvarDecl *I = Ext->getIvarDecl(ID)) { in lookupInstanceVariable()
1570 ObjCIvarDecl *Ivar;
1572 SynthesizeIvarChunk(uint64_t size, ObjCIvarDecl *ivar) in SynthesizeIvarChunk()
1592 ObjCIvarDecl *ObjCInterfaceDecl::all_declared_ivar_begin() { in all_declared_ivar_begin()
1597 ObjCIvarDecl *curIvar = nullptr; in all_declared_ivar_begin()
1746 void ObjCIvarDecl::anchor() {} in anchor()
1748 ObjCIvarDecl *ObjCIvarDecl::Create(ASTContext &C, ObjCContainerDecl *DC, in Create()
[all …]
H A DASTDumper.cpp275 void VisitObjCIvarDecl(const ObjCIvarDecl *D);
1206 void ASTDumper::VisitObjCIvarDecl(const ObjCIvarDecl *D) { in VisitObjCIvarDecl()
1213 case ObjCIvarDecl::None: in VisitObjCIvarDecl()
1216 case ObjCIvarDecl::Private: in VisitObjCIvarDecl()
1219 case ObjCIvarDecl::Protected: in VisitObjCIvarDecl()
1222 case ObjCIvarDecl::Public: in VisitObjCIvarDecl()
1225 case ObjCIvarDecl::Package: in VisitObjCIvarDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransProperties.cpp61 ObjCIvarDecl *IvarD;
114 ObjCIvarDecl *ivarD = implD->getPropertyIvarDecl(); in doTransform()
287 ObjCIvarDecl *Ivar;
289 PlusOneAssign(ObjCIvarDecl *D) : Ivar(D) {} in PlusOneAssign()
342 bool isUserDeclared(ObjCIvarDecl *ivarD) const { in isUserDeclared()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DBodyFarm.cpp94 ObjCIvarRefExpr *makeObjCIvarRef(const Expr *Base, const ObjCIvarDecl *IVar);
197 const ObjCIvarDecl *IVar) { in makeObjCIvarRef()
198 return new (C) ObjCIvarRefExpr(const_cast<ObjCIvarDecl*>(IVar), in makeObjCIvarRef()
703 static const ObjCIvarDecl *findBackingIvar(const ObjCPropertyDecl *Prop) { in findBackingIvar()
704 const ObjCIvarDecl *IVar = Prop->getPropertyIvarDecl(); in findBackingIvar()
745 const ObjCIvarDecl *IVar = findBackingIvar(Prop); in createObjCPropertyGetter()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp3792 ObjCIvarDecl *Ivar = IVars[i]; in SynthesizeBitfieldGroupStructType()
3810 SmallVector<ObjCIvarDecl *, 8> IVars; in GetGroupRecordTypeForObjCIvarBitfield()
3884 SmallVector<ObjCIvarDecl *, 8> IVars; in RewriteObjCInternalStruct()
3914 ObjCIvarDecl *IV = IVars[i]; in RewriteObjCInternalStruct()
3934 ObjCIvarDecl *IV = IVars[i]; in RewriteObjCInternalStruct()
3965 for (ObjCIvarDecl *IvarDecl : Ivars) { in RewriteIvarOffsetSymbols()
6742 ObjCIvarDecl *IvarDecl = Ivars[i]; in Write_IvarOffsetVar()
6774 SmallVector<ObjCIvarDecl *, 8> Ivars; in Write__ivar_list_t_initializer()
6796 ObjCIvarDecl *IvarDecl = Ivars[i]; in Write__ivar_list_t_initializer()
7014 SmallVector<ObjCIvarDecl *, 8> IVars; in RewriteObjCClassMetaData()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DStore.h42 class ObjCIvarDecl; variable
144 virtual SVal getLValueIvar(const ObjCIvarDecl *decl, SVal base);
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCDeclVendor.cpp511 clang::ObjCIvarDecl *ivar_decl = clang::ObjCIvarDecl::Create( in FinishDecl()
516 clang::ObjCIvarDecl::Public, 0, is_synthesized); in FinishDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaDeclObjC.cpp2126 ObjCIvarDecl* ImplIvar = ivars[i]; in CheckImplementationIvars()
2127 if (const ObjCIvarDecl *ClsIvar = in CheckImplementationIvars()
2135 if (const ObjCIvarDecl *ClsExtIvar = in CheckImplementationIvars()
2156 ObjCIvarDecl* ImplIvar = ivars[j++]; in CheckImplementationIvars()
2157 ObjCIvarDecl* ClsIvar = *IVI; in CheckImplementationIvars()
3856 ObjCIvarDecl *FirstIvar = in DiagnoseVariableSizedIvars()
3865 const ObjCIvarDecl *LastIvar = *IvarIter; in DiagnoseVariableSizedIvars()
4810 SmallVector<const ObjCIvarDecl*, 32> Ivars; in ActOnDefs()
4973 ObjCIvarDecl *
5006 const ObjCIvarDecl *IvarD;
[all …]
H A DSemaObjCProperty.cpp717 ObjCIvarDecl *ivar) { in checkARCPropertyImpl()
744 ivar->getAccessControl() == ObjCIvarDecl::Private) { in checkARCPropertyImpl()
796 ObjCPropertyDecl *property, ObjCIvarDecl *ivar) { in setImpliedPropertyAttributeForReadOnlyProperty()
1172 ObjCIvarDecl *Ivar = nullptr; in ActOnPropertyImplDecl()
1252 ObjCIvarDecl *originalIvar = in ActOnPropertyImplDecl()
1290 Ivar = ObjCIvarDecl::Create(Context, ClassImpDecl, in ActOnPropertyImplDecl()
1293 ObjCIvarDecl::Private, in ActOnPropertyImplDecl()
1532 ObjCIvarDecl *Ivar = nullptr; in ActOnPropertyImplDecl()
1784 ObjCMethodDecl *Method, ObjCIvarDecl *IV) { in IvarBacksCurrentMethodAccessor()
H A DSemaExprMember.cpp1331 ObjCIvarDecl *IV = IDecl->lookupInstanceVariable(Member, ClassDeclared); in LookupMemberExpr()
1335 auto Validator = llvm::make_unique<DeclFilterCCC<ObjCIvarDecl>>(); in LookupMemberExpr()
1340 IV = Corrected.getCorrectionDeclAs<ObjCIvarDecl>(); in LookupMemberExpr()
1387 if (IV->getAccessControl() != ObjCIvarDecl::Public && in LookupMemberExpr()
1388 IV->getAccessControl() != ObjCIvarDecl::Package) { in LookupMemberExpr()
1407 if (IV->getAccessControl() == ObjCIvarDecl::Private) { in LookupMemberExpr()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Core/
H A DClangForward.h83 class ObjCIvarDecl; variable
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp468 if (const auto *ID = dyn_cast<ObjCIvarDecl>(D)) in getLValueFieldOrIvar()
474 SVal StoreManager::getLValueIvar(const ObjCIvarDecl *decl, SVal base) { in getLValueIvar()
H A DMemRegion.cpp213 ObjCIvarRegion::ObjCIvarRegion(const ObjCIvarDecl *ivd, const SubRegion *sReg) in ObjCIvarRegion()
216 const ObjCIvarDecl *ObjCIvarRegion::getDecl() const { in getDecl()
217 return cast<ObjCIvarDecl>(D); in getDecl()
304 const ObjCIvarDecl *ivd, in ProfileRegion()
1036 MemRegionManager::getObjCIvarRegion(const ObjCIvarDecl *d, in getObjCIvarRegion()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DIndexDecl.cpp317 bool VisitObjCIvarDecl(const ObjCIvarDecl *D) { in VisitObjCIvarDecl()
520 if (ObjCIvarDecl *ID = D->getPropertyIvarDecl()) in VisitObjCPropertyImplDecl()
544 if (ObjCIvarDecl *IvarD = D->getPropertyIvarDecl()) { in VisitObjCPropertyImplDecl()

123