LLVM
8.0.1
|
A Counter mapping region associates a source range with a specific counter. More...
#include "llvm/ProfileData/Coverage/CoverageMapping.h"
Public Types | |
enum | RegionKind { CodeRegion, ExpansionRegion, SkippedRegion, GapRegion } |
Public Member Functions | |
CounterMappingRegion (Counter Count, unsigned FileID, unsigned ExpandedFileID, unsigned LineStart, unsigned ColumnStart, unsigned LineEnd, unsigned ColumnEnd, RegionKind Kind) | |
LineColPair | startLoc () const |
LineColPair | endLoc () const |
Static Public Member Functions | |
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) |
Public Attributes | |
Counter | Count |
unsigned | FileID |
unsigned | ExpandedFileID |
unsigned | LineStart |
unsigned | ColumnStart |
unsigned | LineEnd |
unsigned | ColumnEnd |
RegionKind | Kind |
A Counter mapping region associates a source range with a specific counter.
Definition at line 205 of file CoverageMapping.h.
Definition at line 206 of file CoverageMapping.h.
|
inline |
Definition at line 229 of file CoverageMapping.h.
|
inline |
Definition at line 269 of file CoverageMapping.h.
Referenced by llvm::coverage::CoverageMapping::load(), and llvm::coverage::CoverageMappingWriter::write().
|
inlinestatic |
Definition at line 244 of file CoverageMapping.h.
|
inlinestatic |
Definition at line 259 of file CoverageMapping.h.
|
inlinestatic |
Definition at line 237 of file CoverageMapping.h.
|
inlinestatic |
Definition at line 252 of file CoverageMapping.h.
|
inline |
Definition at line 265 of file CoverageMapping.h.
Referenced by llvm::coverage::CoverageMapping::load(), and llvm::coverage::CoverageMappingWriter::write().
unsigned llvm::coverage::CounterMappingRegion::ColumnEnd |
Definition at line 226 of file CoverageMapping.h.
unsigned llvm::coverage::CounterMappingRegion::ColumnStart |
Definition at line 226 of file CoverageMapping.h.
Counter llvm::coverage::CounterMappingRegion::Count |
Definition at line 224 of file CoverageMapping.h.
unsigned llvm::coverage::CounterMappingRegion::ExpandedFileID |
Definition at line 225 of file CoverageMapping.h.
unsigned llvm::coverage::CounterMappingRegion::FileID |
Definition at line 225 of file CoverageMapping.h.
Referenced by isExpansion(), and llvm::coverage::CoverageMappingWriter::write().
RegionKind llvm::coverage::CounterMappingRegion::Kind |
Definition at line 227 of file CoverageMapping.h.
Referenced by isExpansion(), llvm::coverage::CoverageMapping::load(), and llvm::coverage::CoverageMappingWriter::write().
unsigned llvm::coverage::CounterMappingRegion::LineEnd |
Definition at line 226 of file CoverageMapping.h.
unsigned llvm::coverage::CounterMappingRegion::LineStart |
Definition at line 226 of file CoverageMapping.h.