Lines Matching defs:coverage

1 //===- CoverageMapping.h - Code coverage mapping support --------*- C++ -*-===//
9 // Code coverage mapping data is generated by clang and read by
10 // llvm-cov to show code coverage statistics for a file.
46 namespace coverage {
300 /// Code coverage information for a single function.
367 /// expansions whose coverage can be looked up independently.
475 /// This represents the coverage of an entire file, expansion, or function. It
493 /// Get an iterator over the coverage segments for this object. The segments
509 /// The mapping of profile information to coverage data.
511 /// This is the main interface to get coverage information, using a profile to
536 /// Load the coverage mapping using the given readers.
541 /// Load the coverage mapping from the given object files and profile. If
551 /// can't be associated with any coverage information.
555 /// the same hash as a coverage mapping record for the same symbol. This
557 /// symbol name and its coverage mapping hash.
566 /// Get the coverage for a particular file.
568 /// The given filename must be the name as recorded in the coverage
573 /// Get the coverage for a particular function.
576 /// Get the coverage for an expansion within a coverage set.
675 getLineCoverageStats(const coverage::CoverageData &CD) {
681 // Profile coverage map has the following layout:
701 // Return the coverage map data size for the funciton.
732 // Return the coverage map data size for the funciton.
751 // Per module coverage mapping data header, i.e. CoverageMapFileHeader
798 } // end namespace coverage
801 template<> struct DenseMapInfo<coverage::CounterExpression> {
802 static inline coverage::CounterExpression getEmptyKey() {
803 using namespace coverage;
810 static inline coverage::CounterExpression getTombstoneKey() {
811 using namespace coverage;
818 static unsigned getHashValue(const coverage::CounterExpression &V) {
824 static bool isEqual(const coverage::CounterExpression &LHS,
825 const coverage::CounterExpression &RHS) {