Searched refs:BodyCount (Results 1 – 2 of 2) sorted by relevance
/external/clang/lib/CodeGen/ |
D | CodeGenPGO.cpp | 247 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitFunctionDecl() local 248 CountMap[D->getBody()] = BodyCount; in VisitFunctionDecl() 259 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitCapturedDecl() local 260 CountMap[D->getBody()] = BodyCount; in VisitCapturedDecl() 266 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitObjCMethodDecl() local 267 CountMap[D->getBody()] = BodyCount; in VisitObjCMethodDecl() 273 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitBlockDecl() local 274 CountMap[D->getBody()] = BodyCount; in VisitBlockDecl() 331 uint64_t BodyCount = setCount(PGO.getRegionCount(S)); in VisitWhileStmt() local 345 setCount(BC.BreakCount + CondCount - BodyCount); in VisitWhileStmt() [all …]
|
D | CoverageMappingGen.cpp | 627 Counter BodyCount = getRegionCounter(S); in VisitWhileStmt() local 632 Counter BackedgeCount = propagateCounts(BodyCount, S->getBody()); in VisitWhileStmt() 642 addCounters(BC.BreakCount, subtractCounters(CondCount, BodyCount)); in VisitWhileStmt() 651 Counter BodyCount = getRegionCounter(S); in VisitDoStmt() local 656 propagateCounts(addCounters(ParentCount, BodyCount), S->getBody()); in VisitDoStmt() 663 addCounters(BC.BreakCount, subtractCounters(CondCount, BodyCount)); in VisitDoStmt() 674 Counter BodyCount = getRegionCounter(S); in VisitForStmt() local 679 Counter BackedgeCount = propagateCounts(BodyCount, S->getBody()); in VisitForStmt() 696 addCounters(BC.BreakCount, subtractCounters(CondCount, BodyCount)); in VisitForStmt() 707 Counter BodyCount = getRegionCounter(S); in VisitCXXForRangeStmt() local [all …]
|