Lines Matching refs:RetainSummary

382 class RetainSummary {  class
401 RetainSummary(ArgEffects A, RetEffect R, ArgEffect defaultEff, in RetainSummary() function in __anonbe000e510211::RetainSummary
440 bool operator==(const RetainSummary &Other) const { in operator ==()
517 typedef llvm::DenseMap<ObjCSummaryKey, const RetainSummary *> MapTy;
522 const RetainSummary * find(const ObjCInterfaceDecl *D, Selector S) { in find()
549 const RetainSummary *Summ = I->second; in find()
554 const RetainSummary *find(IdentifierInfo* II, Selector S) { in find()
565 const RetainSummary *& operator[](ObjCSummaryKey K) { in operator []()
569 const RetainSummary *& operator[](Selector S) { in operator []()
586 typedef llvm::DenseMap<const FunctionDecl*, const RetainSummary *>
591 typedef llvm::FoldingSetNodeWrapper<RetainSummary> CachedSummaryNode;
648 const RetainSummary *getUnarySummary(const FunctionType* FT,
651 const RetainSummary *getCFSummaryCreateRule(const FunctionDecl *FD);
652 const RetainSummary *getCFSummaryGetRule(const FunctionDecl *FD);
653 const RetainSummary *getCFCreateGetRuleSummary(const FunctionDecl *FD);
655 const RetainSummary *getPersistentSummary(const RetainSummary &OldSumm);
657 const RetainSummary *getPersistentSummary(RetEffect RetEff, in getPersistentSummary()
660 RetainSummary Summ(getArgEffects(), RetEff, DefaultEff, ReceiverEff); in getPersistentSummary()
664 const RetainSummary *getDoNothingSummary() { in getDoNothingSummary()
668 const RetainSummary *getDefaultSummary() { in getDefaultSummary()
673 const RetainSummary *getPersistentStopSummary() { in getPersistentStopSummary()
681 void addNSObjectClsMethSummary(Selector S, const RetainSummary *Summ) { in addNSObjectClsMethSummary()
685 void addNSObjectMethSummary(Selector S, const RetainSummary *Summ) { in addNSObjectMethSummary()
690 const RetainSummary *Summ, bool isNullary = true) { in addClassMethSummary()
698 const RetainSummary *Summ) { in addInstMethSummary()
705 const RetainSummary *Summ, va_list argp) { in addMethodSummary()
710 void addInstMethSummary(const char* Cls, const RetainSummary * Summ, ...) { in addInstMethSummary()
717 void addClsMethSummary(const char* Cls, const RetainSummary * Summ, ...) { in addClsMethSummary()
724 void addClsMethSummary(IdentifierInfo *II, const RetainSummary * Summ, ...) { in addClsMethSummary()
750 const RetainSummary *getSummary(const CallEvent &Call,
753 const RetainSummary *getFunctionSummary(const FunctionDecl *FD);
755 const RetainSummary *getMethodSummary(Selector S, const ObjCInterfaceDecl *ID,
760 const RetainSummary *getInstanceMethodSummary(const ObjCMethodCall &M,
763 const RetainSummary *getClassMethodSummary(const ObjCMethodCall &M) { in getClassMethodSummary()
773 const RetainSummary *getMethodSummary(const ObjCMethodDecl *MD) { in getMethodSummary()
787 const RetainSummary *getStandardMethodSummary(const ObjCMethodDecl *MD,
794 void updateSummaryFromAnnotations(const RetainSummary *&Summ,
797 void updateSummaryFromAnnotations(const RetainSummary *&Summ,
800 void updateSummaryForCall(const RetainSummary *&Summ,
820 const RetainSummary *&RealSummary;
821 RetainSummary ScratchSummary;
824 RetainSummaryTemplate(const RetainSummary *&real, RetainSummaryManager &mgr) in RetainSummaryTemplate()
832 RetainSummary &operator*() { in operator *()
837 RetainSummary *operator->() { in operator ->()
855 const RetainSummary *
856 RetainSummaryManager::getPersistentSummary(const RetainSummary &OldSumm) { in getPersistentSummary()
874 RetainSummary *Summ = (RetainSummary *) BPAlloc.Allocate<RetainSummary>(); in getPersistentSummary()
875 new (Summ) RetainSummary(OldSumm); in getPersistentSummary()
926 void RetainSummaryManager::updateSummaryForCall(const RetainSummary *&S, in updateSummaryForCall()
990 const RetainSummary *
993 const RetainSummary *Summ; in getSummary()
1022 const RetainSummary *
1034 const RetainSummary *S = nullptr; in getFunctionSummary()
1247 const RetainSummary *
1255 const RetainSummary *
1279 const RetainSummary *
1286 const RetainSummary *
1322 RetainSummaryManager::updateSummaryFromAnnotations(const RetainSummary *&Summ, in updateSummaryFromAnnotations()
1347 RetainSummaryManager::updateSummaryFromAnnotations(const RetainSummary *&Summ, in updateSummaryFromAnnotations()
1377 const RetainSummary *
1473 const RetainSummary *
1507 const RetainSummary *
1513 const RetainSummary *Summ = CachedSummaries.find(ID, S); in getMethodSummary()
1547 const RetainSummary *InitSumm = getPersistentSummary(ObjCInitRetE, DecRefMsg); in InitializeMethodSummaries()
1556 const RetainSummary *AllocSumm = getPersistentSummary(ObjCAllocRetE); in InitializeMethodSummaries()
1557 const RetainSummary *CFAllocSumm = in InitializeMethodSummaries()
1562 const RetainSummary *Summ = getPersistentSummary(NoRet, IncRefMsg); in InitializeMethodSummaries()
1583 const RetainSummary *NoTrackYet = getPersistentSummary(RetEffect::MakeNoRet(), in InitializeMethodSummaries()
1627 typedef llvm::DenseMap<const ExplodedNode *, const RetainSummary *>
1989 if (const RetainSummary *Summ = SummaryLog.lookup(OrigNode)) { in VisitNode()
2599 void checkSummary(const RetainSummary &Summ, const CallEvent &Call,
2602 void processSummaryOfInlined(const RetainSummary &Summ,
2878 const RetainSummary *Summ = Summaries.getSummary(Call, C.getState()); in checkPostCall()
2918 void RetainCountChecker::processSummaryOfInlined(const RetainSummary &Summ, in processSummaryOfInlined()
2954 void RetainCountChecker::checkSummary(const RetainSummary &Summ, in checkSummary()
3456 const RetainSummary *Summ = Summaries.getMethodSummary(MD); in checkPreStmt()
3460 const RetainSummary *Summ = Summaries.getFunctionSummary(FD); in checkPreStmt()
3951 const RetainSummary *S = M.get ## KIND ## Summary(D);\