Lines Matching refs:Summ
524 const RetainSummary *Summ = I->second;
525 M[K] = Summ;
526 return Summ;
635 RetainSummary Summ(getArgEffects(), RetEff, DefaultEff, ReceiverEff);
636 return getPersistentSummary(Summ);
656 void addNSObjectClsMethSummary(Selector S, const RetainSummary *Summ) {
657 ObjCClassMethodSummaries[S] = Summ;
660 void addNSObjectMethSummary(Selector S, const RetainSummary *Summ) {
661 ObjCMethodSummaries[S] = Summ;
665 const RetainSummary *Summ, bool isNullary = true) {
669 ObjCClassMethodSummaries[ObjCSummaryKey(ClsII, S)] = Summ;
673 const RetainSummary *Summ) {
676 ObjCMethodSummaries[ObjCSummaryKey(ClsII, S)] = Summ;
680 const RetainSummary *Summ, va_list argp) {
682 Summaries[ObjCSummaryKey(ClsII, S)] = Summ;
685 void addInstMethSummary(const char* Cls, const RetainSummary * Summ, ...) {
687 va_start(argp, Summ);
688 addMethodSummary(&Ctx.Idents.get(Cls), ObjCMethodSummaries, Summ, argp);
692 void addClsMethSummary(const char* Cls, const RetainSummary * Summ, ...) {
694 va_start(argp, Summ);
695 addMethodSummary(&Ctx.Idents.get(Cls),ObjCClassMethodSummaries, Summ, argp);
699 void addClsMethSummary(IdentifierInfo *II, const RetainSummary * Summ, ...) {
701 va_start(argp, Summ);
702 addMethodSummary(II, ObjCClassMethodSummaries, Summ, argp);
769 void updateSummaryFromAnnotations(const RetainSummary *&Summ,
772 void updateSummaryFromAnnotations(const RetainSummary *&Summ,
775 void updateSummaryForCall(const RetainSummary *&Summ,
849 RetainSummary *Summ = (RetainSummary *) BPAlloc.Allocate<RetainSummary>();
850 new (Summ) RetainSummary(OldSumm);
851 return Summ;
968 const RetainSummary *Summ;
971 Summ
984 Summ = getInstanceMethodSummary(Msg, State);
986 Summ = getClassMethodSummary(Msg);
991 updateSummaryForCall(Summ, Call);
993 assert(Summ && "Unknown call type?");
994 return Summ;
1297 RetainSummaryManager::updateSummaryFromAnnotations(const RetainSummary *&Summ,
1302 assert(Summ && "Must have a summary to add annotations to.");
1303 RetainSummaryTemplate Template(Summ, *this);
1322 RetainSummaryManager::updateSummaryFromAnnotations(const RetainSummary *&Summ,
1327 assert(Summ && "Must have a valid summary to add annotations to");
1328 RetainSummaryTemplate Template(Summ, *this);
1487 const RetainSummary *Summ = CachedSummaries.find(ID, S);
1489 if (!Summ) {
1490 Summ = getStandardMethodSummary(MD, S, RetTy);
1493 updateSummaryFromAnnotations(Summ, MD);
1496 CachedSummaries[ObjCSummaryKey(ID, S)] = Summ;
1499 return Summ;
1536 const RetainSummary *Summ = getPersistentSummary(NoRet, IncRefMsg);
1537 addNSObjectMethSummary(GetNullarySelector("retain", Ctx), Summ);
1540 Summ = getPersistentSummary(NoRet, DecRefMsg);
1541 addNSObjectMethSummary(GetNullarySelector("release", Ctx), Summ);
1544 Summ = getPersistentSummary(NoRet, Dealloc);
1545 addNSObjectMethSummary(GetNullarySelector("dealloc", Ctx), Summ);
1548 Summ = getPersistentSummary(NoRet, Autorelease);
1549 addNSObjectMethSummary(GetNullarySelector("autorelease", Ctx), Summ);
1946 if (const RetainSummary *Summ = SummaryLog.lookup(OrigNode)) {
1965 AEffects.push_back(Summ->getArg(i));
1973 AEffects.push_back(Summ->getReceiverEffect());
2563 void checkSummary(const RetainSummary &Summ, const CallEvent &Call,
2566 void processSummaryOfInlined(const RetainSummary &Summ,
2795 const RetainSummary *Summ = Summaries.getSummary(Call, C.getState());
2798 processSummaryOfInlined(*Summ, Call, C);
2801 checkSummary(*Summ, Call, C);
2845 void RetainCountChecker::processSummaryOfInlined(const RetainSummary &Summ,
2852 if (Summ.getArg(idx) == StopTrackingHard) {
2864 if (Summ.getReceiverEffect() == StopTrackingHard) {
2871 RetEffect RE = Summ.getRetEffect();
2894 void RetainCountChecker::checkSummary(const RetainSummary &Summ,
2909 state = updateSymbol(state, Sym, *T, Summ.getArg(idx), hasErr, C);
2927 state = updateSymbol(state, Sym, *T, Summ.getReceiverEffect(),
2945 RetEffect RE = Summ.getRetEffect();
3012 SummaryLog[NewNode] = &Summ;
3374 const RetainSummary *Summ = Summaries.getMethodSummary(MD);
3375 RE = Summ->getRetEffect();
3378 const RetainSummary *Summ = Summaries.getFunctionSummary(FD);
3379 RE = Summ->getRetEffect();