Home
last modified time | relevance | path

Searched refs:BodyCount (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/CodeGen/
DCodeGenPGO.cpp252 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitFunctionDecl() local
253 CountMap[D->getBody()] = BodyCount; in VisitFunctionDecl()
264 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitCapturedDecl() local
265 CountMap[D->getBody()] = BodyCount; in VisitCapturedDecl()
271 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitObjCMethodDecl() local
272 CountMap[D->getBody()] = BodyCount; in VisitObjCMethodDecl()
278 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitBlockDecl() local
279 CountMap[D->getBody()] = BodyCount; in VisitBlockDecl()
336 uint64_t BodyCount = setCount(PGO.getRegionCount(S)); in VisitWhileStmt() local
350 setCount(BC.BreakCount + CondCount - BodyCount); in VisitWhileStmt()
[all …]
DCoverageMappingGen.cpp668 Counter BodyCount = getRegionCounter(S); in VisitWhileStmt() local
673 Counter BackedgeCount = propagateCounts(BodyCount, S->getBody()); in VisitWhileStmt()
683 addCounters(BC.BreakCount, subtractCounters(CondCount, BodyCount)); in VisitWhileStmt()
692 Counter BodyCount = getRegionCounter(S); in VisitDoStmt() local
697 propagateCounts(addCounters(ParentCount, BodyCount), S->getBody()); in VisitDoStmt()
704 addCounters(BC.BreakCount, subtractCounters(CondCount, BodyCount)); in VisitDoStmt()
715 Counter BodyCount = getRegionCounter(S); in VisitForStmt() local
720 Counter BackedgeCount = propagateCounts(BodyCount, S->getBody()); in VisitForStmt()
737 addCounters(BC.BreakCount, subtractCounters(CondCount, BodyCount)); in VisitForStmt()
748 Counter BodyCount = getRegionCounter(S); in VisitCXXForRangeStmt() local
[all …]
/external/llvm-project/clang/lib/CodeGen/
DCodeGenPGO.cpp395 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitFunctionDecl() local
396 CountMap[D->getBody()] = BodyCount; in VisitFunctionDecl()
407 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitCapturedDecl() local
408 CountMap[D->getBody()] = BodyCount; in VisitCapturedDecl()
414 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitObjCMethodDecl() local
415 CountMap[D->getBody()] = BodyCount; in VisitObjCMethodDecl()
421 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitBlockDecl() local
422 CountMap[D->getBody()] = BodyCount; in VisitBlockDecl()
479 uint64_t BodyCount = setCount(PGO.getRegionCount(S)); in VisitWhileStmt() local
493 setCount(BC.BreakCount + CondCount - BodyCount); in VisitWhileStmt()
[all …]
DCoverageMappingGen.cpp1050 Counter BodyCount = getRegionCounter(S); in VisitWhileStmt() local
1055 Counter BackedgeCount = propagateCounts(BodyCount, S->getBody()); in VisitWhileStmt()
1067 fillGapAreaWithCount(Gap->getBegin(), Gap->getEnd(), BodyCount); in VisitWhileStmt()
1070 addCounters(BC.BreakCount, subtractCounters(CondCount, BodyCount)); in VisitWhileStmt()
1079 Counter BodyCount = getRegionCounter(S); in VisitDoStmt() local
1084 propagateCounts(addCounters(ParentCount, BodyCount), S->getBody()); in VisitDoStmt()
1091 addCounters(BC.BreakCount, subtractCounters(CondCount, BodyCount)); in VisitDoStmt()
1102 Counter BodyCount = getRegionCounter(S); in VisitForStmt() local
1111 Counter BackedgeCount = propagateCounts(BodyCount, S->getBody()); in VisitForStmt()
1135 fillGapAreaWithCount(Gap->getBegin(), Gap->getEnd(), BodyCount); in VisitForStmt()
[all …]