Lines Matching refs:RetainSummary

383 class RetainSummary {  class
402 RetainSummary(ArgEffects A, RetEffect R, ArgEffect defaultEff, in RetainSummary() function in __anonbe000e510211::RetainSummary
441 bool operator==(const RetainSummary &Other) const { in operator ==()
518 typedef llvm::DenseMap<ObjCSummaryKey, const RetainSummary *> MapTy;
523 const RetainSummary * find(const ObjCInterfaceDecl *D, Selector S) { in find()
550 const RetainSummary *Summ = I->second; in find()
555 const RetainSummary *find(IdentifierInfo* II, Selector S) { in find()
566 const RetainSummary *& operator[](ObjCSummaryKey K) { in operator []()
570 const RetainSummary *& operator[](Selector S) { in operator []()
587 typedef llvm::DenseMap<const FunctionDecl*, const RetainSummary *>
592 typedef llvm::FoldingSetNodeWrapper<RetainSummary> CachedSummaryNode;
649 const RetainSummary *getUnarySummary(const FunctionType* FT,
652 const RetainSummary *getCFSummaryCreateRule(const FunctionDecl *FD);
653 const RetainSummary *getCFSummaryGetRule(const FunctionDecl *FD);
654 const RetainSummary *getCFCreateGetRuleSummary(const FunctionDecl *FD);
656 const RetainSummary *getPersistentSummary(const RetainSummary &OldSumm);
658 const RetainSummary *getPersistentSummary(RetEffect RetEff, in getPersistentSummary()
661 RetainSummary Summ(getArgEffects(), RetEff, DefaultEff, ReceiverEff); in getPersistentSummary()
665 const RetainSummary *getDoNothingSummary() { in getDoNothingSummary()
669 const RetainSummary *getDefaultSummary() { in getDefaultSummary()
674 const RetainSummary *getPersistentStopSummary() { in getPersistentStopSummary()
682 void addNSObjectClsMethSummary(Selector S, const RetainSummary *Summ) { in addNSObjectClsMethSummary()
686 void addNSObjectMethSummary(Selector S, const RetainSummary *Summ) { in addNSObjectMethSummary()
691 const RetainSummary *Summ, bool isNullary = true) { in addClassMethSummary()
699 const RetainSummary *Summ) { in addInstMethSummary()
706 const RetainSummary *Summ, va_list argp) { in addMethodSummary()
711 void addInstMethSummary(const char* Cls, const RetainSummary * Summ, ...) { in addInstMethSummary()
718 void addClsMethSummary(const char* Cls, const RetainSummary * Summ, ...) { in addClsMethSummary()
725 void addClsMethSummary(IdentifierInfo *II, const RetainSummary * Summ, ...) { in addClsMethSummary()
751 const RetainSummary *getSummary(const CallEvent &Call,
754 const RetainSummary *getFunctionSummary(const FunctionDecl *FD);
756 const RetainSummary *getMethodSummary(Selector S, const ObjCInterfaceDecl *ID,
761 const RetainSummary *getInstanceMethodSummary(const ObjCMethodCall &M,
764 const RetainSummary *getClassMethodSummary(const ObjCMethodCall &M) { in getClassMethodSummary()
774 const RetainSummary *getMethodSummary(const ObjCMethodDecl *MD) { in getMethodSummary()
788 const RetainSummary *getStandardMethodSummary(const ObjCMethodDecl *MD,
795 void updateSummaryFromAnnotations(const RetainSummary *&Summ,
798 void updateSummaryFromAnnotations(const RetainSummary *&Summ,
801 void updateSummaryForCall(const RetainSummary *&Summ,
821 const RetainSummary *&RealSummary;
822 RetainSummary ScratchSummary;
825 RetainSummaryTemplate(const RetainSummary *&real, RetainSummaryManager &mgr) in RetainSummaryTemplate()
833 RetainSummary &operator*() { in operator *()
838 RetainSummary *operator->() { in operator ->()
856 const RetainSummary *
857 RetainSummaryManager::getPersistentSummary(const RetainSummary &OldSumm) { in getPersistentSummary()
875 RetainSummary *Summ = (RetainSummary *) BPAlloc.Allocate<RetainSummary>(); in getPersistentSummary()
876 new (Summ) RetainSummary(OldSumm); in getPersistentSummary()
929 void RetainSummaryManager::updateSummaryForCall(const RetainSummary *&S, in updateSummaryForCall()
992 const RetainSummary *
995 const RetainSummary *Summ; in getSummary()
1024 const RetainSummary *
1036 const RetainSummary *S = nullptr; in getFunctionSummary()
1249 const RetainSummary *
1257 const RetainSummary *
1281 const RetainSummary *
1288 const RetainSummary *
1324 RetainSummaryManager::updateSummaryFromAnnotations(const RetainSummary *&Summ, in updateSummaryFromAnnotations()
1360 RetainSummaryManager::updateSummaryFromAnnotations(const RetainSummary *&Summ, in updateSummaryFromAnnotations()
1400 const RetainSummary *
1496 const RetainSummary *
1530 const RetainSummary *
1536 const RetainSummary *Summ = CachedSummaries.find(ID, S); in getMethodSummary()
1570 const RetainSummary *InitSumm = getPersistentSummary(ObjCInitRetE, DecRefMsg); in InitializeMethodSummaries()
1579 const RetainSummary *AllocSumm = getPersistentSummary(ObjCAllocRetE); in InitializeMethodSummaries()
1580 const RetainSummary *CFAllocSumm = in InitializeMethodSummaries()
1585 const RetainSummary *Summ = getPersistentSummary(NoRet, IncRefMsg); in InitializeMethodSummaries()
1606 const RetainSummary *NoTrackYet = getPersistentSummary(RetEffect::MakeNoRet(), in InitializeMethodSummaries()
1650 typedef llvm::DenseMap<const ExplodedNode *, const RetainSummary *>
2012 if (const RetainSummary *Summ = SummaryLog.lookup(OrigNode)) { in VisitNode()
2623 void checkSummary(const RetainSummary &Summ, const CallEvent &Call,
2626 void processSummaryOfInlined(const RetainSummary &Summ,
2899 const RetainSummary *Summ = Summaries.getSummary(Call, C.getState()); in checkPostCall()
2939 void RetainCountChecker::processSummaryOfInlined(const RetainSummary &Summ, in processSummaryOfInlined()
3009 void RetainCountChecker::checkSummary(const RetainSummary &Summ, in checkSummary()
3518 const RetainSummary *Summ = Summaries.getMethodSummary(MD); in checkPreStmt()
3522 const RetainSummary *Summ = Summaries.getFunctionSummary(FD); in checkPreStmt()
4007 const RetainSummary *S = M.get ## KIND ## Summary(D);\