Lines Matching +full:max +full:- +full:functions
1 //===- CoverageSummaryInfo.h - Coverage summary for function/file ---------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 // for functions/files.
12 //===----------------------------------------------------------------------===//
35 assert(Covered <= NumRegions && "Covered regions over-counted");
45 Covered = std::max(Covered, RHS.Covered);
46 NumRegions = std::max(NumRegions, RHS.NumRegions);
56 assert(Covered <= NumRegions && "Covered regions over-counted");
76 assert(Covered <= NumLines && "Covered lines over-counted");
86 Covered = std::max(Covered, RHS.Covered);
87 NumLines = std::max(NumLines, RHS.NumLines);
97 assert(Covered <= NumLines && "Covered lines over-counted");
117 assert(Covered <= NumBranches && "Covered branches over-counted");
127 Covered = std::max(Covered, RHS.Covered);
128 NumBranches = std::max(NumBranches, RHS.NumBranches);
138 assert(Covered <= NumBranches && "Covered branches over-counted");
158 assert(CoveredPairs <= NumPairs && "Covered pairs over-counted");
168 CoveredPairs = std::max(CoveredPairs, RHS.CoveredPairs);
169 NumPairs = std::max(NumPairs, RHS.NumPairs);
179 assert(CoveredPairs <= NumPairs && "Covered pairs over-counted");
188 /// The number of functions that were executed.
191 /// The total number of functions in this file.
219 assert(Executed <= NumFunctions && "Covered functions over-counted");
304 return DemangledName->getValue();