Lines Matching refs:ObjKind
68 Optional<ObjKind> RetainSummaryManager::hasAnyEnabledAttrOf(const Decl *D, in hasAnyEnabledAttrOf()
70 ObjKind K; in hasAnyEnabledAttrOf()
76 K = ObjKind::CF; in hasAnyEnabledAttrOf()
88 K = ObjKind::ObjC; in hasAnyEnabledAttrOf()
95 K = ObjKind::OS; in hasAnyEnabledAttrOf()
99 K = ObjKind::Generalized; in hasAnyEnabledAttrOf()
109 Optional<ObjKind> RetainSummaryManager::hasAnyEnabledAttrOf(const Decl *D, in hasAnyEnabledAttrOf()
308 return getPersistentSummary(RetEffect::MakeOwned(ObjKind::CF), in getSummaryForObjCOrCFObject()
322 return getPersistentSummary(RetEffect::MakeOwned(ObjKind::CF), ScratchArgs, in getSummaryForObjCOrCFObject()
329 ScratchArgs = AF.add(ScratchArgs, 1, ArgEffect(DecRef, ObjKind::CF)); in getSummaryForObjCOrCFObject()
337 ScratchArgs = AF.add(ScratchArgs, 2, ArgEffect(DecRef, ObjKind::CF)); in getSummaryForObjCOrCFObject()
358 return getPersistentSummary(RetEffect::MakeOwned(ObjKind::CF), ScratchArgs, in getSummaryForObjCOrCFObject()
487 ArgEffect(DoNothing), ArgEffect(E, ObjKind::CF)); in getSummaryForObjCOrCFObject()
641 ObjKind K = ObjKind::AnyObj; in updateSummaryForArgumentTypes()
644 K = ObjKind::Generalized; in updateSummaryForArgumentTypes()
646 K = ObjKind::OS; in updateSummaryForArgumentTypes()
648 K = ObjKind::ObjC; in updateSummaryForArgumentTypes()
650 K = ObjKind::CF; in updateSummaryForArgumentTypes()
653 if (K != ObjKind::AnyObj) in updateSummaryForArgumentTypes()
795 ArgEffect Effect(AE, ObjKind::CF); in getUnarySummary()
809 /*ThisEff=*/ArgEffect(IncRef, ObjKind::OS)); in getOSSummaryRetainRule()
818 /*ThisEff=*/ArgEffect(DecRef, ObjKind::OS)); in getOSSummaryReleaseRule()
827 /*ThisEff=*/ArgEffect(Dealloc, ObjKind::OS)); in getOSSummaryFreeRule()
832 return getPersistentSummary(RetEffect::MakeOwned(ObjKind::OS), in getOSSummaryCreateRule()
838 return getPersistentSummary(RetEffect::MakeNotOwned(ObjKind::OS), in getOSSummaryGetRule()
844 return getPersistentSummary(RetEffect::MakeOwned(ObjKind::CF), in getCFSummaryCreateRule()
850 return getPersistentSummary(RetEffect::MakeNotOwned(ObjKind::CF), in getCFSummaryGetRule()
925 if (K == ObjKind::OS) { in applyParamAnnotationEffect()
945 Template->addArg(AF, parm_idx, ArgEffect(AK, ObjKind::OS)); in applyParamAnnotationEffect()
992 Template->setThisEffect(ArgEffect(DecRef, ObjKind::OS)); in updateSummaryFromAnnotations()
1006 Template->setReceiverEffect(ArgEffect(DecRef, ObjKind::ObjC)); in updateSummaryFromAnnotations()
1023 ArgEffect ReceiverEff = ArgEffect(DoNothing, ObjKind::ObjC); in getStandardMethodSummary()
1035 ResultEff = RetEffect::MakeNotOwned(ObjKind::ObjC); in getStandardMethodSummary()
1047 ResultEff = RetEffect::MakeOwned(ObjKind::CF); in getStandardMethodSummary()
1050 ResultEff = RetEffect::MakeNotOwned(ObjKind::CF); in getStandardMethodSummary()
1054 ResultEff = RetEffect::MakeNotOwned(ObjKind::CF); in getStandardMethodSummary()
1060 ReceiverEff = ArgEffect(DecRef, ObjKind::ObjC); in getStandardMethodSummary()
1069 ResultEff = RetEffect::MakeOwned(ObjKind::CF); in getStandardMethodSummary()
1072 ReceiverEff = ArgEffect(Autorelease, ObjKind::ObjC); in getStandardMethodSummary()
1075 ReceiverEff = ArgEffect(IncRef, ObjKind::ObjC); in getStandardMethodSummary()
1078 ReceiverEff = ArgEffect(DecRef, ObjKind::ObjC); in getStandardMethodSummary()
1081 ReceiverEff = ArgEffect(Dealloc, ObjKind::ObjC); in getStandardMethodSummary()
1103 ReceiverEff = ArgEffect(StopTrackingHard, ObjKind::ObjC); in getStandardMethodSummary()
1184 getPersistentSummary(RetEffect::MakeNotOwned(ObjKind::ObjC), in InitializeClassMethodSummaries()
1201 ObjCInitRetE, ScratchArgs, ArgEffect(DecRef, ObjKind::ObjC)); in InitializeMethodSummaries()
1213 getPersistentSummary(RetEffect::MakeOwned(ObjKind::CF), ScratchArgs); in InitializeMethodSummaries()
1218 NoRet, ScratchArgs, ArgEffect(IncRef, ObjKind::ObjC)); in InitializeMethodSummaries()
1223 ArgEffect(DecRef, ObjKind::ObjC)); in InitializeMethodSummaries()
1228 ObjKind::ObjC)); in InitializeMethodSummaries()
1233 ObjKind::ObjC)); in InitializeMethodSummaries()