LLVM 20.0.0git
|
Coverage statistics for a single line. More...
#include "llvm/ProfileData/Coverage/CoverageMapping.h"
Public Member Functions | |
LineCoverageStats (ArrayRef< const CoverageSegment * > LineSegments, const CoverageSegment *WrappedSegment, unsigned Line) | |
uint64_t | getExecutionCount () const |
bool | hasMultipleRegions () const |
bool | isMapped () const |
unsigned | getLine () const |
ArrayRef< const CoverageSegment * > | getLineSegments () const |
const CoverageSegment * | getWrappedSegment () const |
Friends | |
class | LineCoverageIterator |
Coverage statistics for a single line.
Definition at line 1035 of file CoverageMapping.h.
LineCoverageStats::LineCoverageStats | ( | ArrayRef< const CoverageSegment * > | LineSegments, |
const CoverageSegment * | WrappedSegment, | ||
unsigned | Line | ||
) |
Definition at line 1508 of file CoverageMapping.cpp.
References llvm::any_of(), llvm::coverage::CoverageSegment::Count, llvm::ArrayRef< T >::empty(), llvm::ArrayRef< T >::front(), llvm::coverage::CoverageSegment::HasCount, I, llvm::coverage::CoverageSegment::IsGapRegion, and llvm::ArrayRef< T >::size().
|
inline |
Definition at line 1050 of file CoverageMapping.h.
|
inline |
Definition at line 1056 of file CoverageMapping.h.
|
inline |
Definition at line 1058 of file CoverageMapping.h.
|
inline |
Definition at line 1062 of file CoverageMapping.h.
|
inline |
Definition at line 1052 of file CoverageMapping.h.
|
inline |
Definition at line 1054 of file CoverageMapping.h.
|
friend |
Definition at line 1043 of file CoverageMapping.h.