LLVM  6.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::coverage::CountedRegion Struct Reference

Associates a source range with an execution count. More...

#include "llvm/ProfileData/Coverage/CoverageMapping.h"

Inheritance diagram for llvm::coverage::CountedRegion:
Inheritance graph
[legend]
Collaboration diagram for llvm::coverage::CountedRegion:
Collaboration graph
[legend]

Public Member Functions

 CountedRegion (const CounterMappingRegion &R, uint64_t ExecutionCount)
 
- Public Member Functions inherited from llvm::coverage::CounterMappingRegion
 CounterMappingRegion (Counter Count, unsigned FileID, unsigned ExpandedFileID, unsigned LineStart, unsigned ColumnStart, unsigned LineEnd, unsigned ColumnEnd, RegionKind Kind)
 
LineColPair startLoc () const
 
LineColPair endLoc () const
 

Public Attributes

uint64_t ExecutionCount
 
- Public Attributes inherited from llvm::coverage::CounterMappingRegion
Counter Count
 
unsigned FileID
 
unsigned ExpandedFileID
 
unsigned LineStart
 
unsigned ColumnStart
 
unsigned LineEnd
 
unsigned ColumnEnd
 
RegionKind Kind
 

Additional Inherited Members

- Public Types inherited from llvm::coverage::CounterMappingRegion
enum  RegionKind { CodeRegion, ExpansionRegion, SkippedRegion, GapRegion }
 
- Static Public Member Functions inherited from llvm::coverage::CounterMappingRegion
static CounterMappingRegion makeRegion (Counter Count, unsigned FileID, unsigned LineStart, unsigned ColumnStart, unsigned LineEnd, unsigned ColumnEnd)
 
static CounterMappingRegion makeExpansion (unsigned FileID, unsigned ExpandedFileID, unsigned LineStart, unsigned ColumnStart, unsigned LineEnd, unsigned ColumnEnd)
 
static CounterMappingRegion makeSkipped (unsigned FileID, unsigned LineStart, unsigned ColumnStart, unsigned LineEnd, unsigned ColumnEnd)
 
static CounterMappingRegion makeGapRegion (Counter Count, unsigned FileID, unsigned LineStart, unsigned ColumnStart, unsigned LineEnd, unsigned ColumnEnd)
 

Detailed Description

Associates a source range with an execution count.

Definition at line 272 of file CoverageMapping.h.

Constructor & Destructor Documentation

◆ CountedRegion()

llvm::coverage::CountedRegion::CountedRegion ( const CounterMappingRegion R,
uint64_t  ExecutionCount 
)
inline

Definition at line 275 of file CoverageMapping.h.

Member Data Documentation

◆ ExecutionCount

uint64_t llvm::coverage::CountedRegion::ExecutionCount

Definition at line 273 of file CoverageMapping.h.

Referenced by llvm::coverage::CoverageMapping::load().


The documentation for this struct was generated from the following file: