Searched refs:BodyCount (Results 1 – 2 of 2) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenPGO.cpp | 627 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitFunctionDecl() local 628 CountMap[D->getBody()] = BodyCount; in VisitFunctionDecl() 639 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitCapturedDecl() local 640 CountMap[D->getBody()] = BodyCount; in VisitCapturedDecl() 646 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitObjCMethodDecl() local 647 CountMap[D->getBody()] = BodyCount; in VisitObjCMethodDecl() 653 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitBlockDecl() local 654 CountMap[D->getBody()] = BodyCount; in VisitBlockDecl() 711 uint64_t BodyCount = setCount(PGO.getRegionCount(S)); in VisitWhileStmt() local 725 setCount(BC.BreakCount + CondCount - BodyCount); in VisitWhileStmt() [all …]
|
| H A D | CoverageMappingGen.cpp | 1622 Counter BodyCount = llvm::EnableSingleByteCoverage in VisitWhileStmt() local 1629 Counter BackedgeCount = propagateCounts(BodyCount, S->getBody()); in VisitWhileStmt() 1641 assert(BranchCount.Executed.isZero() || BranchCount.Executed == BodyCount || in VisitWhileStmt() 1650 fillGapAreaWithCount(Gap->getBegin(), Gap->getEnd(), BodyCount); in VisitWhileStmt() 1665 createBranchRegion(S->getCond(), BodyCount, BranchCount.Skipped); in VisitWhileStmt() 1672 Counter BodyCount = llvm::EnableSingleByteCoverage in VisitDoStmt() local 1681 propagateCounts(BodyCount, S->getBody()); in VisitDoStmt() 1684 propagateCounts(addCounters(ParentCount, BodyCount), S->getBody()); in VisitDoStmt() 1695 assert(BranchCount.Executed.isZero() || BranchCount.Executed == BodyCount || in VisitDoStmt() 1713 createBranchRegion(S->getCond(), BodyCount, BranchCount.Skipped); in VisitDoStmt() [all …]
|