Home
last modified time | relevance | path

Searched refs:NumBranches (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-cov/
H A DCoverageSummaryInfo.h110 size_t NumBranches; variable
113 BranchCoverageInfo() : Covered(0), NumBranches(0) {} in BranchCoverageInfo()
115 BranchCoverageInfo(size_t Covered, size_t NumBranches) in BranchCoverageInfo() argument
116 : Covered(Covered), NumBranches(NumBranches) { in BranchCoverageInfo()
117 assert(Covered <= NumBranches && "Covered branches over-counted"); in BranchCoverageInfo()
122 NumBranches += RHS.NumBranches;
128 NumBranches = std::max(NumBranches, RHS.NumBranches); in merge()
133 size_t getNumBranches() const { return NumBranches; } in getNumBranches()
135 bool isFullyCovered() const { return Covered == NumBranches; } in isFullyCovered()
138 assert(Covered <= NumBranches && "Covered branches over-counted"); in getPercentCovered()
[all …]
H A DCoverageSummaryInfo.cpp19 static void sumBranches(size_t &NumBranches, size_t &CoveredBranches, in sumBranches() argument
27 ++NumBranches; in sumBranches()
31 ++NumBranches; in sumBranches()
37 static void sumBranchExpansions(size_t &NumBranches, size_t &CoveredBranches, in sumBranchExpansions() argument
42 sumBranches(NumBranches, CoveredBranches, CE.getBranches()); in sumBranchExpansions()
43 sumBranchExpansions(NumBranches, CoveredBranches, CM, CE.getExpansions()); in sumBranchExpansions()
72 size_t NumBranches = 0, CoveredBranches = 0; in get() local
73 sumBranches(NumBranches, CoveredBranches, CD.getBranches()); in get()
74 sumBranchExpansions(NumBranches, CoveredBranches, CM, CD.getExpansions()); in get()
80 BranchCoverageInfo(CoveredBranches, NumBranches)); in get()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopUnswitch.cpp89 STATISTIC(NumBranches, "Number of branches unswitched");
763 ++NumBranches; in processCurrentLoop()
876 ++NumBranches; in processCurrentLoop()
897 ++NumBranches; in processCurrentLoop()
1256 ++NumBranches; in tryTrivialLoopUnswitch()
H A DSimpleLoopUnswitch.cpp69 STATISTIC(NumBranches, "Number of branches unswitched");
572 ++NumBranches; in unswitchTrivialBranch()
2394 ++NumBranches; in unswitchNontrivialInvariants()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp148 CHRStats() : NumBranches(0), NumBranchesDelta(0), in CHRStats()
151 OS << "CHRStats: NumBranches " << NumBranches in print()
155 uint64_t NumBranches; // The original number of conditional branches / member
793 ++Stats.NumBranches; in findScope()
828 ++Stats.NumBranches; in findScope()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMachineBlockPlacement.cpp3475 Statistic &NumBranches = in INITIALIZE_PASS_DEPENDENCY() local
3486 ++NumBranches; in INITIALIZE_PASS_DEPENDENCY()