| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | IvarInvalidationChecker.cpp | 59 const ObjCIvarDecl*> MethToIvarMapTy; 62 typedef llvm::DenseMap<const ObjCIvarDecl*, 127 void markInvalidated(const ObjCIvarDecl *Iv); 191 static const ObjCIvarDecl *findPropertyBackingIvar( 195 const ObjCIvarDecl **FirstIvarDecl); 199 const ObjCIvarDecl *IvarDecl, 290 const ObjCIvarDecl *I = cast<ObjCIvarDecl>(Iv->getCanonicalDecl()); in trackIvar() 304 const ObjCIvarDecl *IvarD = nullptr; in findPropertyBackingIvar() 363 const ObjCIvarDecl *FirstIvarDecl = nullptr; in visit() 538 reportIvarNeedsInvalidation(const ObjCIvarDecl *IvarD, in reportIvarNeedsInvalidation() [all …]
|
| H A D | DirectIvarAssignment.cpp | 54 typedef llvm::DenseMap<const ObjCIvarDecl*, 94 static const ObjCIvarDecl *findPropertyBackingIvar(const ObjCPropertyDecl *PD, in findPropertyBackingIvar() 98 ObjCIvarDecl *ID = PD->getPropertyIvarDecl(); in findPropertyBackingIvar() 127 const ObjCIvarDecl *ID = findPropertyBackingIvar(PD, InterD, in checkASTDecl() 176 if (const ObjCIvarDecl *D = IvarRef->getDecl()) { in VisitBinaryOperator()
|
| H A D | ObjCUnusedIVarsChecker.cpp | 31 typedef llvm::DenseMap<const ObjCIvarDecl*,IVarState> IvarUsageMap; 38 const ObjCIvarDecl *D = Ex->getDecl(); in Scan() 66 const ObjCIvarDecl *ID = D->getPropertyIvarDecl(); in Scan() 119 if (Ivar->getAccessControl() != ObjCIvarDecl::Private || in checkObjCUnusedIvar()
|
| H A D | CheckObjCDealloc.cpp | 70 const ObjCIvarDecl **ID, in isSynthesizedRetainableProperty() 529 const ObjCIvarDecl *IvarDecl = IvarRegion->getDecl(); in diagnoseMissingReleases() 632 const ObjCIvarDecl *IvarDecl = IvarRegion->getDecl(); in findPropertyOnDeallocatingInstance() 878 const ObjCIvarDecl *IvarDecl; in getDeallocReleaseRequirement() 940 ObjCIvarDecl *PropIvarDecl = Prop->getPropertyIvarDecl(); in getValueReleasedByNillingOut() 1062 const ObjCIvarDecl *IvarDecl = PropImpl->getPropertyIvarDecl(); in isNibLoadedIvarWithoutRetain()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclObjC.h | 53 class ObjCIvarDecl; variable 773 ObjCIvarDecl *PropertyIvarDecl = nullptr; 920 ObjCIvarDecl *getPropertyIvarDecl() const { in getPropertyIvarDecl() 1181 ObjCIvarDecl *IvarList = nullptr; 1471 ObjCIvarDecl *all_declared_ivar_begin(); 1947 class ObjCIvarDecl : public FieldDecl { 1987 ObjCIvarDecl *getCanonicalDecl() override { in getCanonicalDecl() 2016 ObjCIvarDecl *NextIvar = nullptr; 2824 ObjCIvarDecl *PropertyIvarDecl; 2842 ObjCIvarDecl *ivarDecl, in ObjCPropertyImplDecl() [all …]
|
| H A D | ExprObjC.h | 550 ObjCIvarDecl *D; 566 ObjCIvarRefExpr(ObjCIvarDecl *d, QualType t, SourceLocation l, 579 ObjCIvarDecl *getDecl() { return D; } in getDecl() 580 const ObjCIvarDecl *getDecl() const { return D; } in getDecl() 581 void setDecl(ObjCIvarDecl *d) { D = d; } in setDecl()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGObjCRuntime.h | 53 class ObjCIvarDecl; variable 82 const ObjCIvarDecl *Ivar); 85 const ObjCIvarDecl *Ivar); 90 const ObjCIvarDecl *Ivar, 307 const ObjCIvarDecl *Ivar, 311 const ObjCIvarDecl *Ivar) = 0; 363 const ObjCIvarDecl *Ivar);
|
| H A D | CGObjCRuntime.cpp | 33 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 D | CGObjCGNU.cpp | 519 const ObjCIvarDecl *Ivar) { in GetIVarOffsetVariableName() 526 const ObjCIvarDecl *Ivar); 659 const ObjCIvarDecl *Ivar) override; 1703 const ObjCIvarDecl *Ivar) override { in EmitIvarOffset() 1874 (IVD->getAccessControl() == ObjCIvarDecl::Private || in GenerateClass() 1875 IVD->getAccessControl() == ObjCIvarDecl::Package || in GenerateClass() 3654 for (const ObjCIvarDecl *IVD = ClassDecl->all_declared_ivar_begin(); IVD; in GenerateClass() 4263 const ObjCIvarDecl *Ivar) { in ObjCIvarOffsetVariable() 4279 const ObjCIvarDecl *Ivar, in EmitObjCValueForIvar() 4290 for (const ObjCIvarDecl *next = OID->all_declared_ivar_begin(); next; in FindIvarInterface() [all …]
|
| H A D | CGObjC.cpp | 923 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in PropertyImplStrategy() 1085 ObjCIvarDecl *ivar, in emitCPPObjectAtomicGetterCall() 1136 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in generateObjCGetterBody() 1145 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in generateObjCGetterBody() 1161 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in generateObjCGetterBody() 1321 ObjCIvarDecl *ivar) { in emitStructSetterCall() 1365 ObjCIvarDecl *ivar, in emitCPPObjectAtomicSetterCall() 1431 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in generateObjCSetterBody() 1641 const ObjCIvarDecl *ivar; 1645 DestroyIvar(llvm::Value *addr, const ObjCIvarDecl *ivar, in DestroyIvar() [all …]
|
| H A D | CGObjCMac.cpp | 1398 const ObjCIvarDecl *Ivar) override; 1465 const ObjCIvarDecl *Ivar, 1536 const ObjCIvarDecl *Ivar); 1572 const ObjCIvarDecl *IV) { in IsIvarOffsetKnownIdempotent() 3469 for (const ObjCIvarDecl *ivar = in hasMRCWeakIvars() 3775 for (const ObjCIvarDecl *IVD = OID->all_declared_ivar_begin(); in EmitIvarList() 5539 SmallVector<const ObjCIvarDecl*, 32> ivars; in BuildIvarLayout() 6837 Ivar->getAccessControl() == ObjCIvarDecl::Private || in ObjCIvarOffsetVariable() 6838 Ivar->getAccessControl() == ObjCIvarDecl::Package; in ObjCIvarOffsetVariable() 6866 if (Ivar->getAccessControl() == ObjCIvarDecl::Private || in EmitIvarOffsetVar() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | TransProperties.cpp | 60 ObjCIvarDecl *IvarD; 113 ObjCIvarDecl *ivarD = implD->getPropertyIvarDecl(); in doTransform() 285 ObjCIvarDecl *Ivar; 287 PlusOneAssign(ObjCIvarDecl *D) : Ivar(D) {} in PlusOneAssign() 343 bool isUserDeclared(ObjCIvarDecl *ivarD) const { in isUserDeclared()
|
| H A D | TransZeroOutPropsInDealloc.cpp | 168 ObjCIvarDecl *IVDecl = IV->getDecl(); in isZeroingPropIvar()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 79 ObjCIvarDecl * 84 if (auto *ivar = dyn_cast<ObjCIvarDecl>(*Ivar)) in getIvarDecl() 649 if (ObjCIvarDecl *I = ClassDecl->getIvarDecl(ID)) { in lookupInstanceVariable() 655 if (ObjCIvarDecl *I = Ext->getIvarDecl(ID)) { in lookupInstanceVariable() 1656 ObjCIvarDecl *Ivar; 1658 SynthesizeIvarChunk(uint64_t size, ObjCIvarDecl *ivar) in SynthesizeIvarChunk() 1683 ObjCIvarDecl *curIvar = nullptr; in all_declared_ivar_begin() 1837 void ObjCIvarDecl::anchor() {} in anchor() 1839 ObjCIvarDecl *ObjCIvarDecl::Create(ASTContext &C, ObjCContainerDecl *DC, in Create() 1875 ObjCIvarDecl *ObjCIvarDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 98 ObjCIvarRefExpr *makeObjCIvarRef(const Expr *Base, const ObjCIvarDecl *IVar); 208 const ObjCIvarDecl *IVar) { in makeObjCIvarRef() 209 return new (C) ObjCIvarRefExpr(const_cast<ObjCIvarDecl*>(IVar), in makeObjCIvarRef() 746 static const ObjCIvarDecl *findBackingIvar(const ObjCPropertyDecl *Prop) { in findBackingIvar() 747 const ObjCIvarDecl *IVar = Prop->getPropertyIvarDecl(); in findBackingIvar() 788 const ObjCIvarDecl *IVar = nullptr; in createObjCPropertyGetter()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteModernObjC.cpp | 3789 ObjCIvarDecl *Ivar = IVars[i]; in SynthesizeBitfieldGroupStructType() 3807 SmallVector<ObjCIvarDecl *, 8> IVars; in GetGroupRecordTypeForObjCIvarBitfield() 3881 SmallVector<ObjCIvarDecl *, 8> IVars; in RewriteObjCInternalStruct() 3911 ObjCIvarDecl *IV = IVars[i]; in RewriteObjCInternalStruct() 3931 ObjCIvarDecl *IV = IVars[i]; in RewriteObjCInternalStruct() 3962 for (ObjCIvarDecl *IvarDecl : Ivars) { in RewriteIvarOffsetSymbols() 6738 ObjCIvarDecl *IvarDecl = Ivars[i]; in Write_IvarOffsetVar() 6770 SmallVector<ObjCIvarDecl *, 8> Ivars; in Write__ivar_list_t_initializer() 6792 ObjCIvarDecl *IvarDecl = Ivars[i]; in Write__ivar_list_t_initializer() 7010 SmallVector<ObjCIvarDecl *, 8> IVars; in RewriteObjCClassMetaData() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | Store.h | 41 class ObjCIvarDecl; variable 144 virtual SVal getLValueIvar(const ObjCIvarDecl *decl, SVal base);
|
| H A D | MemRegion.h | 1144 const ObjCIvarDecl *IVD; 1146 ObjCIvarRegion(const ObjCIvarDecl *ivd, const SubRegion *sReg); 1148 static void ProfileRegion(llvm::FoldingSetNodeID& ID, const ObjCIvarDecl *ivd, 1153 const ObjCIvarDecl *getDecl() const override; 1530 const ObjCIvarRegion *getObjCIvarRegion(const ObjCIvarDecl *ivd,
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
| H A D | AppleObjCDeclVendor.cpp | 490 clang::ObjCIvarDecl *ivar_decl = clang::ObjCIvarDecl::Create( in FinishDecl() 495 clang::ObjCIvarDecl::Public, nullptr, is_synthesized); in FinishDecl()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | Store.cpp | 433 if (const auto *ID = dyn_cast<ObjCIvarDecl>(D)) in getLValueFieldOrIvar() 439 SVal StoreManager::getLValueIvar(const ObjCIvarDecl *decl, SVal base) { in getLValueIvar()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaDeclObjC.cpp | 2169 ObjCIvarDecl* ImplIvar = ivars[i]; in CheckImplementationIvars() 2170 if (const ObjCIvarDecl *ClsIvar = in CheckImplementationIvars() 2178 if (const ObjCIvarDecl *ClsExtIvar = in CheckImplementationIvars() 2199 ObjCIvarDecl* ImplIvar = ivars[j++]; in CheckImplementationIvars() 2200 ObjCIvarDecl* ClsIvar = *IVI; in CheckImplementationIvars() 3908 ObjCIvarDecl *FirstIvar = in DiagnoseVariableSizedIvars() 3917 const ObjCIvarDecl *LastIvar = *IvarIter; in DiagnoseVariableSizedIvars() 5114 SmallVector<const ObjCIvarDecl*, 32> Ivars; in ActOnDefs() 5277 ObjCIvarDecl * 5310 const ObjCIvarDecl *IvarD; [all …]
|
| H A D | SemaObjCProperty.cpp | 723 ObjCIvarDecl *ivar) { in checkARCPropertyImpl() 750 ivar->getAccessControl() == ObjCIvarDecl::Private) { in checkARCPropertyImpl() 801 ObjCPropertyDecl *property, ObjCIvarDecl *ivar) { in setImpliedPropertyAttributeForReadOnlyProperty() 1201 ObjCIvarDecl *Ivar = nullptr; in ActOnPropertyImplDecl() 1280 ObjCIvarDecl *originalIvar = in ActOnPropertyImplDecl() 1318 Ivar = ObjCIvarDecl::Create(Context, ClassImpDecl, in ActOnPropertyImplDecl() 1321 ObjCIvarDecl::Private, in ActOnPropertyImplDecl() 1580 ObjCIvarDecl *Ivar = nullptr; in ActOnPropertyImplDecl() 1836 ObjCMethodDecl *Method, ObjCIvarDecl *IV) { in IvarBacksCurrentMethodAccessor()
|
| H A D | SemaExprMember.cpp | 1395 ObjCIvarDecl *IV = IDecl->lookupInstanceVariable(Member, ClassDeclared); in LookupMemberExpr() 1399 DeclFilterCCC<ObjCIvarDecl> Validator{}; in LookupMemberExpr() 1404 IV = Corrected.getCorrectionDeclAs<ObjCIvarDecl>(); in LookupMemberExpr() 1451 if (IV->getAccessControl() != ObjCIvarDecl::Public && in LookupMemberExpr() 1452 IV->getAccessControl() != ObjCIvarDecl::Package) { in LookupMemberExpr() 1471 if (IV->getAccessControl() == ObjCIvarDecl::Private) { in LookupMemberExpr()
|
| H A D | SemaAccess.cpp | 1958 if (ObjCIvarDecl *Ivar = dyn_cast<ObjCIvarDecl>(Target)) { in IsSimplyAccessible() 1960 if (Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Public || in IsSimplyAccessible() 1961 Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Package) in IsSimplyAccessible() 1990 if (Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Private) in IsSimplyAccessible()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexDecl.cpp | 332 bool VisitObjCIvarDecl(const ObjCIvarDecl *D) { in VisitObjCIvarDecl() 545 if (ObjCIvarDecl *ID = D->getPropertyIvarDecl()) in VisitObjCPropertyImplDecl() 567 if (ObjCIvarDecl *IvarD = D->getPropertyIvarDecl()) { in VisitObjCPropertyImplDecl()
|