Lines Matching refs:BodyCount
1495 Counter BodyCount = getRegionCounter(S); in VisitWhileStmt() local
1500 Counter BackedgeCount = propagateCounts(BodyCount, S->getBody()); in VisitWhileStmt()
1515 fillGapAreaWithCount(Gap->getBegin(), Gap->getEnd(), BodyCount); in VisitWhileStmt()
1518 addCounters(BC.BreakCount, subtractCounters(CondCount, BodyCount)); in VisitWhileStmt()
1527 createBranchRegion(S->getCond(), BodyCount, in VisitWhileStmt()
1528 subtractCounters(CondCount, BodyCount)); in VisitWhileStmt()
1535 Counter BodyCount = getRegionCounter(S); in VisitDoStmt() local
1540 propagateCounts(addCounters(ParentCount, BodyCount), S->getBody()); in VisitDoStmt()
1550 addCounters(BC.BreakCount, subtractCounters(CondCount, BodyCount)); in VisitDoStmt()
1557 createBranchRegion(S->getCond(), BodyCount, in VisitDoStmt()
1558 subtractCounters(CondCount, BodyCount)); in VisitDoStmt()
1570 Counter BodyCount = getRegionCounter(S); in VisitForStmt() local
1579 Counter BackedgeCount = propagateCounts(BodyCount, S->getBody()); in VisitForStmt()
1605 fillGapAreaWithCount(Gap->getBegin(), Gap->getEnd(), BodyCount); in VisitForStmt()
1608 subtractCounters(CondCount, BodyCount)); in VisitForStmt()
1617 createBranchRegion(S->getCond(), BodyCount, in VisitForStmt()
1618 subtractCounters(CondCount, BodyCount)); in VisitForStmt()
1629 Counter BodyCount = getRegionCounter(S); in VisitCXXForRangeStmt() local
1633 Counter BackedgeCount = propagateCounts(BodyCount, S->getBody()); in VisitCXXForRangeStmt()
1642 fillGapAreaWithCount(Gap->getBegin(), Gap->getEnd(), BodyCount); in VisitCXXForRangeStmt()
1647 addCounters(BC.BreakCount, subtractCounters(LoopCount, BodyCount)); in VisitCXXForRangeStmt()
1656 createBranchRegion(S->getCond(), BodyCount, in VisitCXXForRangeStmt()
1657 subtractCounters(LoopCount, BodyCount)); in VisitCXXForRangeStmt()
1665 Counter BodyCount = getRegionCounter(S); in VisitObjCForCollectionStmt() local
1669 Counter BackedgeCount = propagateCounts(BodyCount, S->getBody()); in VisitObjCForCollectionStmt()
1675 fillGapAreaWithCount(Gap->getBegin(), Gap->getEnd(), BodyCount); in VisitObjCForCollectionStmt()
1680 addCounters(BC.BreakCount, subtractCounters(LoopCount, BodyCount)); in VisitObjCForCollectionStmt()