Home
last modified time | relevance | path

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

1234

/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIvarInvalidationChecker.cpp59 const ObjCIvarDecl*> MethToIvarMapTy;
61 const ObjCIvarDecl*> PropToIvarMapTy;
62 typedef llvm::DenseMap<const ObjCIvarDecl*,
94 typedef llvm::DenseMap<const ObjCIvarDecl*, InvalidationInfo> IvarSet;
127 void markInvalidated(const ObjCIvarDecl *Iv);
185 static bool trackIvar(const ObjCIvarDecl *Iv, IvarSet &TrackedIvars,
186 const ObjCIvarDecl **FirstIvarDecl);
191 static const ObjCIvarDecl *findPropertyBackingIvar(
195 const ObjCIvarDecl **FirstIvarDecl);
199 const ObjCIvarDecl *IvarDecl,
[all …]
H A DDirectIvarAssignment.cpp54 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 DObjCUnusedIVarsChecker.cpp31 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 DCheckObjCDealloc.cpp70 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()
/src/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCRuntime.h53 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 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.cpp517 const ObjCIvarDecl *Ivar) { in GetIVarOffsetVariableName()
524 const ObjCIvarDecl *Ivar);
653 llvm::Value *BaseValue, const ObjCIvarDecl *Ivar,
657 const ObjCIvarDecl *Ivar) override;
1691 const ObjCIvarDecl *Ivar) override { in GetIVarOffsetVariableName()
1701 const ObjCIvarDecl *Ivar) override { in EmitIvarOffset()
1829 for (const ObjCIvarDecl *IVD = classDecl->all_declared_ivar_begin(); IVD; in GenerateClass()
1848 for (const ObjCIvarDecl *IVD = classDecl->all_declared_ivar_begin(); IVD; in GenerateClass()
1872 (IVD->getAccessControl() == ObjCIvarDecl::Private || in GenerateClass()
1873 IVD->getAccessControl() == ObjCIvarDecl::Package || in GenerateClass()
[all …]
H A DCGObjC.cpp818 static void emitStructGetterCall(CodeGenFunction &CGF, ObjCIvarDecl *ivar, in emitStructGetterCall()
927 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in PropertyImplStrategy()
1089 ObjCIvarDecl *ivar, in emitCPPObjectAtomicGetterCall()
1140 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in generateObjCGetterBody()
1149 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in generateObjCGetterBody()
1165 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in generateObjCGetterBody()
1325 ObjCIvarDecl *ivar) { in emitStructSetterCall()
1369 ObjCIvarDecl *ivar, in emitCPPObjectAtomicSetterCall()
1435 ObjCIvarDecl *ivar = propImpl->getPropertyIvarDecl(); in generateObjCSetterBody()
1645 const ObjCIvarDecl *ivar;
[all …]
/src/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h53 class ObjCIvarDecl; variable
774 ObjCIvarDecl *PropertyIvarDecl = nullptr;
919 void setPropertyIvarDecl(ObjCIvarDecl *Ivar) { in setPropertyIvarDecl()
923 ObjCIvarDecl *getPropertyIvarDecl() const { in getPropertyIvarDecl()
1075 ObjCIvarDecl *getIvarDecl(IdentifierInfo *Id) const;
1184 ObjCIvarDecl *IvarList = nullptr;
1447 using ivar_iterator = specific_decl_iterator<ObjCIvarDecl>;
1448 using ivar_range = llvm::iterator_range<specific_decl_iterator<ObjCIvarDecl>>;
1474 ObjCIvarDecl *all_declared_ivar_begin();
1475 const ObjCIvarDecl *all_declared_ivar_begin() const { in all_declared_ivar_begin()
[all …]
H A DExprObjC.h550 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()
/src/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransProperties.cpp60 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 DTransZeroOutPropsInDealloc.cpp168 ObjCIvarDecl *IVDecl = IV->getDecl(); in isZeroingPropIvar()
/src/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp80 ObjCIvarDecl *
85 if (auto *ivar = dyn_cast<ObjCIvarDecl>(*Ivar)) in getIvarDecl()
637 ObjCIvarDecl *ObjCInterfaceDecl::lookupInstanceVariable(IdentifierInfo *ID, in lookupInstanceVariable()
648 if (ObjCIvarDecl *I = ClassDecl->getIvarDecl(ID)) { in lookupInstanceVariable()
654 if (ObjCIvarDecl *I = Ext->getIvarDecl(ID)) { in lookupInstanceVariable()
1650 ObjCIvarDecl *Ivar;
1652 SynthesizeIvarChunk(uint64_t size, ObjCIvarDecl *ivar) in SynthesizeIvarChunk()
1672 ObjCIvarDecl *ObjCInterfaceDecl::all_declared_ivar_begin() { in all_declared_ivar_begin()
1677 ObjCIvarDecl *curIvar = nullptr; in all_declared_ivar_begin()
1831 void ObjCIvarDecl::anchor() {} in anchor()
[all …]
/src/contrib/llvm-project/clang/lib/InstallAPI/
H A DFrontend.cpp63 const clang::ObjCIvarDecl::AccessControl AC) { in addObjCIVar()
67 ((AC == ObjCIvarDecl::Private) || (AC == ObjCIvarDecl::Package))) in addObjCIVar()
/src/contrib/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp98 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()
/src/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp150 llvm::SmallSetVector<ObjCIvarDecl *, 8> > ReferencedIvars;
154 llvm::DenseMap<const ObjCIvarDecl* , unsigned> IvarGroupNumber;
344 std::string getIvarAccessString(ObjCIvarDecl *D);
371 unsigned ObjCIvarBitfieldGroupNo(ObjCIvarDecl *IV);
373 void ObjCIvarBitfieldGroupDecl(ObjCIvarDecl *IV, std::string &Result);
375 void ObjCIvarBitfieldGroupType(ObjCIvarDecl *IV, std::string &Result);
377 void ObjCIvarBitfieldGroupOffset(ObjCIvarDecl *IV, std::string &Result);
379 QualType GetGroupRecordTypeForObjCIvarBitfield(ObjCIvarDecl *IV);
381 ObjCIvarDecl *IV,
382 SmallVectorImpl<ObjCIvarDecl *> &IVars);
[all …]
/src/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DStore.h41 class ObjCIvarDecl; variable
144 virtual SVal getLValueIvar(const ObjCIvarDecl *decl, SVal base);
H A DMemRegion.h1149 const ObjCIvarDecl *IVD;
1151 ObjCIvarRegion(const ObjCIvarDecl *ivd, const SubRegion *sReg);
1153 static void ProfileRegion(llvm::FoldingSetNodeID& ID, const ObjCIvarDecl *ivd,
1158 const ObjCIvarDecl *getDecl() const override;
1535 const ObjCIvarRegion *getObjCIvarRegion(const ObjCIvarDecl *ivd,
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp2137 ObjCIvarDecl **ivars, unsigned numIvars, in CheckImplementationIvars()
2172 ObjCIvarDecl* ImplIvar = ivars[i]; in CheckImplementationIvars()
2173 if (const ObjCIvarDecl *ClsIvar = in CheckImplementationIvars()
2181 if (const ObjCIvarDecl *ClsExtIvar = in CheckImplementationIvars()
2202 ObjCIvarDecl* ImplIvar = ivars[j++]; in CheckImplementationIvars()
2203 ObjCIvarDecl* ClsIvar = *IVI; in CheckImplementationIvars()
3776 ObjCIvarDecl* prevIvar = SID->lookupInstanceVariable(II); in DiagnoseDuplicateIvars()
3881 for (ObjCIvarDecl *ivar = IntfDecl->all_declared_ivar_begin(); ivar; in DiagnoseVariableSizedIvars()
3911 ObjCIvarDecl *FirstIvar = in DiagnoseVariableSizedIvars()
3920 const ObjCIvarDecl *LastIvar = *IvarIter; in DiagnoseVariableSizedIvars()
[all …]
H A DSemaObjCProperty.cpp708 ObjCIvarDecl *ivar) { in checkARCPropertyImpl()
735 ivar->getAccessControl() == ObjCIvarDecl::Private) { in checkARCPropertyImpl()
786 ObjCPropertyDecl *property, ObjCIvarDecl *ivar) { in setImpliedPropertyAttributeForReadOnlyProperty()
1183 ObjCIvarDecl *Ivar = nullptr; in ActOnPropertyImplDecl()
1262 ObjCIvarDecl *originalIvar = in ActOnPropertyImplDecl()
1300 Ivar = ObjCIvarDecl::Create(Context, ClassImpDecl, in ActOnPropertyImplDecl()
1303 ObjCIvarDecl::Private, in ActOnPropertyImplDecl()
1559 ObjCIvarDecl *Ivar = nullptr; in ActOnPropertyImplDecl()
1816 ObjCIvarDecl *IV) { in IvarBacksCurrentMethodAccessor()
/src/contrib/llvm-project/clang/include/clang/InstallAPI/
H A DFrontendRecords.h103 const clang::ObjCIvarDecl::AccessControl AC);
H A DVisitor.h74 DeclContext::specific_decl_iterator<ObjCIvarDecl>>
/src/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCDeclVendor.cpp490 clang::ObjCIvarDecl *ivar_decl = clang::ObjCIvarDecl::Create( in FinishDecl()
495 clang::ObjCIvarDecl::Public, nullptr, is_synthesized); in FinishDecl()
/src/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaObjC.h412 ObjCIvarDecl **Fields, unsigned nIvars,
512 SmallVectorImpl<ObjCIvarDecl *> &Ivars);
524 ObjCIvarDecl *
894 ExprResult BuildIvarRefExpr(Scope *S, SourceLocation Loc, ObjCIvarDecl *IV);
1016 ObjCMethodDecl *Method, ObjCIvarDecl *IV);
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp433 if (const auto *ID = dyn_cast<ObjCIvarDecl>(D)) in getLValueFieldOrIvar()
439 SVal StoreManager::getLValueIvar(const ObjCIvarDecl *decl, SVal base) { in getLValueIvar()

1234