Home
last modified time | relevance | path

Searched refs:BranchCount (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp1640 auto BranchCount = getBranchCounterPair(S, CondCount, getRegionCounter(S)); in VisitWhileStmt() local
1641 assert(BranchCount.Executed.isZero() || BranchCount.Executed == BodyCount || in VisitWhileStmt()
1654 (BC.BreakCount.isZero() && BranchCount.Skipped == getRegionCounter(S))); in VisitWhileStmt()
1655 Counter OutCount = addCounters(BC.BreakCount, BranchCount.Skipped); in VisitWhileStmt()
1665 createBranchRegion(S->getCond(), BodyCount, BranchCount.Skipped); in VisitWhileStmt()
1694 auto BranchCount = getBranchCounterPair(S, CondCount, getRegionCounter(S)); in VisitDoStmt() local
1695 assert(BranchCount.Executed.isZero() || BranchCount.Executed == BodyCount || in VisitDoStmt()
1702 (BC.BreakCount.isZero() && BranchCount.Skipped == getRegionCounter(S))); in VisitDoStmt()
1703 Counter OutCount = addCounters(BC.BreakCount, BranchCount.Skipped); in VisitDoStmt()
1713 createBranchRegion(S->getCond(), BodyCount, BranchCount.Skipped); in VisitDoStmt()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/
H A Dgcov.cpp95 cl::opt<bool> BranchCount("c", cl::Grouping, cl::init(false), in gcovMain()
98 cl::alias BranchCountA("branch-counts", cl::aliasopt(BranchCount)); in gcovMain()
169 GCOV::Options Options(AllBlocks, BranchProb, BranchCount, FuncSummary, in gcovMain()
97 cl::opt<bool> BranchCount("c", cl::Grouping, cl::init(false), gcovMain() local
H A DSourceCoverageViewText.cpp297 auto BranchCount = [&](StringRef Label, uint64_t Count, bool Folded, in renderBranchView() local
332 OS << BranchCount("True", R.ExecutionCount, R.TrueFolded, Total) << ", " in renderBranchView()
333 << BranchCount("False", R.FalseExecutionCount, R.FalseFolded, Total) in renderBranchView()
H A DSourceCoverageViewHTML.cpp1102 auto BranchCount = [&](StringRef Label, uint64_t Count, bool Folded, in renderBranchView() local
1145 OS << BranchCount("True", R.ExecutionCount, R.TrueFolded, Total) << ", " in renderBranchView()
1146 << BranchCount("False", R.FalseExecutionCount, R.FalseFolded, Total) in renderBranchView()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp56 getBranchWeight(Intrinsic::ID IntrinsicID, CallInst *CI, int BranchCount) { in getBranchWeight() argument
69 double FalseProb = (1.0 - TrueProb) / (BranchCount - 1); in getBranchWeight()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DGCOV.h49 : AllBlocks(A), BranchInfo(B), BranchCount(C), FuncCoverage(F), in Options()
56 bool BranchCount; member
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DGCOV.cpp591 else if (Options.BranchCount) in print()