LLVM 20.0.0git
Public Member Functions | Friends | List of all members
llvm::coverage::LineCoverageStats Class Reference

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 CoverageSegmentgetWrappedSegment () const
 

Friends

class LineCoverageIterator
 

Detailed Description

Coverage statistics for a single line.

Definition at line 1031 of file CoverageMapping.h.

Constructor & Destructor Documentation

◆ LineCoverageStats()

LineCoverageStats::LineCoverageStats ( ArrayRef< const CoverageSegment * >  LineSegments,
const CoverageSegment WrappedSegment,
unsigned  Line 
)

Member Function Documentation

◆ getExecutionCount()

uint64_t llvm::coverage::LineCoverageStats::getExecutionCount ( ) const
inline

Definition at line 1046 of file CoverageMapping.h.

◆ getLine()

unsigned llvm::coverage::LineCoverageStats::getLine ( ) const
inline

Definition at line 1052 of file CoverageMapping.h.

◆ getLineSegments()

ArrayRef< const CoverageSegment * > llvm::coverage::LineCoverageStats::getLineSegments ( ) const
inline

Definition at line 1054 of file CoverageMapping.h.

◆ getWrappedSegment()

const CoverageSegment * llvm::coverage::LineCoverageStats::getWrappedSegment ( ) const
inline

Definition at line 1058 of file CoverageMapping.h.

◆ hasMultipleRegions()

bool llvm::coverage::LineCoverageStats::hasMultipleRegions ( ) const
inline

Definition at line 1048 of file CoverageMapping.h.

◆ isMapped()

bool llvm::coverage::LineCoverageStats::isMapped ( ) const
inline

Definition at line 1050 of file CoverageMapping.h.

Friends And Related Function Documentation

◆ LineCoverageIterator

friend class LineCoverageIterator
friend

Definition at line 1039 of file CoverageMapping.h.


The documentation for this class was generated from the following files: