Lines Matching refs:addCounters
384 Counter addCounters(Counter LHS, Counter RHS) { in addCounters() function
388 Counter addCounters(Counter C1, Counter C2, Counter C3) { in addCounters() function
389 return addCounters(addCounters(C1, C2), C3); in addCounters()
652 BreakContinueStack.back().BreakCount = addCounters( in VisitBreakStmt()
659 BreakContinueStack.back().ContinueCount = addCounters( in VisitContinueStmt()
678 addCounters(ParentCount, BackedgeCount, BC.ContinueCount); in VisitWhileStmt()
683 addCounters(BC.BreakCount, subtractCounters(CondCount, BodyCount)); in VisitWhileStmt()
697 propagateCounts(addCounters(ParentCount, BodyCount), S->getBody()); in VisitDoStmt()
700 Counter CondCount = addCounters(BackedgeCount, BC.ContinueCount); in VisitDoStmt()
704 addCounters(BC.BreakCount, subtractCounters(CondCount, BodyCount)); in VisitDoStmt()
726 propagateCounts(addCounters(BackedgeCount, BC.ContinueCount), Inc); in VisitForStmt()
730 addCounters(ParentCount, BackedgeCount, BC.ContinueCount); in VisitForStmt()
737 addCounters(BC.BreakCount, subtractCounters(CondCount, BodyCount)); in VisitForStmt()
756 addCounters(ParentCount, BackedgeCount, BC.ContinueCount); in VisitCXXForRangeStmt()
758 addCounters(BC.BreakCount, subtractCounters(LoopCount, BodyCount)); in VisitCXXForRangeStmt()
776 addCounters(ParentCount, BackedgeCount, BC.ContinueCount); in VisitObjCForCollectionStmt()
778 addCounters(BC.BreakCount, subtractCounters(LoopCount, BodyCount)); in VisitObjCForCollectionStmt()
809 BreakContinueStack.back().ContinueCount = addCounters( in VisitSwitchStmt()
823 Counter Count = addCounters(Parent.getCounter(), getRegionCounter(S)); in VisitSwitchCase()
858 OutCount = addCounters(OutCount, propagateCounts(ElseCount, Else)); in VisitIfStmt()
860 OutCount = addCounters(OutCount, ElseCount); in VisitIfStmt()