Searched refs:NumBranches (Results 1 – 6 of 6) sorted by relevance
| /llvm-project-15.0.7/llvm/tools/llvm-cov/ |
| H A D | CoverageSummaryInfo.h | 110 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() 139 if (NumBranches == 0) in getPercentCovered() [all …]
|
| H A D | CoverageSummaryInfo.cpp | 19 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()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | ControlHeightReduction.cpp | 110 OS << "CHRStats: NumBranches " << NumBranches in print() 115 uint64_t NumBranches = 0; member 770 ++Stats.NumBranches; in findScope() 805 ++Stats.NumBranches; in findScope()
|
| /llvm-project-15.0.7/bolt/lib/Profile/ |
| H A D | DataReader.cpp | 982 int64_t NumBranches = BRes.get(); in parseBranchInfo() local 990 return BranchInfo(std::move(From), std::move(To), NumMispreds, NumBranches); in parseBranchInfo()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | SimpleLoopUnswitch.cpp | 71 STATISTIC(NumBranches, "Number of branches unswitched"); 650 ++NumBranches; in unswitchTrivialBranch() 2516 ++NumBranches; in unswitchNontrivialInvariants()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | MachineBlockPlacement.cpp | 3671 Statistic &NumBranches = in INITIALIZE_PASS_DEPENDENCY() local 3682 ++NumBranches; in INITIALIZE_PASS_DEPENDENCY()
|