Lines Matching refs:RetainSummary
384 class RetainSummary { class
403 RetainSummary(ArgEffects A, RetEffect R, ArgEffect defaultEff, in RetainSummary() function in __anonfda336300211::RetainSummary
442 bool operator==(const RetainSummary &Other) const { in operator ==()
519 typedef llvm::DenseMap<ObjCSummaryKey, const RetainSummary *> MapTy;
524 const RetainSummary * find(const ObjCInterfaceDecl *D, Selector S) { in find()
551 const RetainSummary *Summ = I->second; in find()
556 const RetainSummary *find(IdentifierInfo* II, Selector S) { in find()
567 const RetainSummary *& operator[](ObjCSummaryKey K) { in operator []()
571 const RetainSummary *& operator[](Selector S) { in operator []()
588 typedef llvm::DenseMap<const FunctionDecl*, const RetainSummary *>
593 typedef llvm::FoldingSetNodeWrapper<RetainSummary> CachedSummaryNode;
650 const RetainSummary *getUnarySummary(const FunctionType* FT,
653 const RetainSummary *getCFSummaryCreateRule(const FunctionDecl *FD);
654 const RetainSummary *getCFSummaryGetRule(const FunctionDecl *FD);
655 const RetainSummary *getCFCreateGetRuleSummary(const FunctionDecl *FD);
657 const RetainSummary *getPersistentSummary(const RetainSummary &OldSumm);
659 const RetainSummary *getPersistentSummary(RetEffect RetEff, in getPersistentSummary()
662 RetainSummary Summ(getArgEffects(), RetEff, DefaultEff, ReceiverEff); in getPersistentSummary()
666 const RetainSummary *getDoNothingSummary() { in getDoNothingSummary()
670 const RetainSummary *getDefaultSummary() { in getDefaultSummary()
675 const RetainSummary *getPersistentStopSummary() { in getPersistentStopSummary()
683 void addNSObjectClsMethSummary(Selector S, const RetainSummary *Summ) { in addNSObjectClsMethSummary()
687 void addNSObjectMethSummary(Selector S, const RetainSummary *Summ) { in addNSObjectMethSummary()
692 const RetainSummary *Summ, bool isNullary = true) { in addClassMethSummary()
700 const RetainSummary *Summ) { in addInstMethSummary()
707 const RetainSummary *Summ, va_list argp) { in addMethodSummary()
712 void addInstMethSummary(const char* Cls, const RetainSummary * Summ, ...) { in addInstMethSummary()
719 void addClsMethSummary(const char* Cls, const RetainSummary * Summ, ...) { in addClsMethSummary()
726 void addClsMethSummary(IdentifierInfo *II, const RetainSummary * Summ, ...) { in addClsMethSummary()
752 const RetainSummary *getSummary(const CallEvent &Call,
755 const RetainSummary *getFunctionSummary(const FunctionDecl *FD);
757 const RetainSummary *getMethodSummary(Selector S, const ObjCInterfaceDecl *ID,
762 const RetainSummary *getInstanceMethodSummary(const ObjCMethodCall &M,
765 const RetainSummary *getClassMethodSummary(const ObjCMethodCall &M) { in getClassMethodSummary()
775 const RetainSummary *getMethodSummary(const ObjCMethodDecl *MD) { in getMethodSummary()
789 const RetainSummary *getStandardMethodSummary(const ObjCMethodDecl *MD,
796 void updateSummaryFromAnnotations(const RetainSummary *&Summ,
799 void updateSummaryFromAnnotations(const RetainSummary *&Summ,
802 void updateSummaryForCall(const RetainSummary *&Summ,
822 const RetainSummary *&RealSummary;
823 RetainSummary ScratchSummary;
826 RetainSummaryTemplate(const RetainSummary *&real, RetainSummaryManager &mgr) in RetainSummaryTemplate()
834 RetainSummary &operator*() { in operator *()
839 RetainSummary *operator->() { in operator ->()
857 const RetainSummary *
858 RetainSummaryManager::getPersistentSummary(const RetainSummary &OldSumm) { in getPersistentSummary()
876 RetainSummary *Summ = (RetainSummary *) BPAlloc.Allocate<RetainSummary>(); in getPersistentSummary()
877 new (Summ) RetainSummary(OldSumm); in getPersistentSummary()
930 void RetainSummaryManager::updateSummaryForCall(const RetainSummary *&S, in updateSummaryForCall()
993 const RetainSummary *
996 const RetainSummary *Summ; in getSummary()
1025 const RetainSummary *
1037 const RetainSummary *S = nullptr; in getFunctionSummary()
1250 const RetainSummary *
1258 const RetainSummary *
1282 const RetainSummary *
1289 const RetainSummary *
1325 RetainSummaryManager::updateSummaryFromAnnotations(const RetainSummary *&Summ, in updateSummaryFromAnnotations()
1361 RetainSummaryManager::updateSummaryFromAnnotations(const RetainSummary *&Summ, in updateSummaryFromAnnotations()
1401 const RetainSummary *
1497 const RetainSummary *
1531 const RetainSummary *
1537 const RetainSummary *Summ = CachedSummaries.find(ID, S); in getMethodSummary()
1571 const RetainSummary *InitSumm = getPersistentSummary(ObjCInitRetE, DecRefMsg); in InitializeMethodSummaries()
1580 const RetainSummary *AllocSumm = getPersistentSummary(ObjCAllocRetE); in InitializeMethodSummaries()
1581 const RetainSummary *CFAllocSumm = in InitializeMethodSummaries()
1586 const RetainSummary *Summ = getPersistentSummary(NoRet, IncRefMsg); in InitializeMethodSummaries()
1607 const RetainSummary *NoTrackYet = getPersistentSummary(RetEffect::MakeNoRet(), in InitializeMethodSummaries()
1651 typedef llvm::DenseMap<const ExplodedNode *, const RetainSummary *>
2013 if (const RetainSummary *Summ = SummaryLog.lookup(OrigNode)) { in VisitNode()
2624 void checkSummary(const RetainSummary &Summ, const CallEvent &Call,
2627 void processSummaryOfInlined(const RetainSummary &Summ,
2892 const RetainSummary *Summ = Summaries.getSummary(Call, C.getState()); in checkPostCall()
2932 void RetainCountChecker::processSummaryOfInlined(const RetainSummary &Summ, in processSummaryOfInlined()
3002 void RetainCountChecker::checkSummary(const RetainSummary &Summ, in checkSummary()
3511 const RetainSummary *Summ = Summaries.getMethodSummary(MD); in checkPreStmt()
3515 const RetainSummary *Summ = Summaries.getFunctionSummary(FD); in checkPreStmt()
4000 const RetainSummary *S = M.get ## KIND ## Summary(D);\