LLVM: llvm::coverage::CounterMappingContext Class Reference (original) (raw)
A Counter mapping context is used to connect the counters, expressions and the obtained counter values. More...
#include "[llvm/ProfileData/Coverage/CoverageMapping.h](CoverageMapping%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| CounterMappingContext (ArrayRef< CounterExpression > Expressions, ArrayRef< uint64_t > CounterValues={}) | |
| void | setCounts (ArrayRef< uint64_t > Counts) |
| void | setBitmap (BitVector &&Bitmap_) |
| LLVM_ABI void | dump (const Counter &C, raw_ostream &OS) const |
| void | dump (const Counter &C) const |
| LLVM_ABI Expected< int64_t > | evaluate (const Counter &C) const |
| Return the number of times that a region of code associated with this counter was executed. | |
| LLVM_ABI Expected< MCDCRecord > | evaluateMCDCRegion (const CounterMappingRegion &Region, ArrayRef< const CounterMappingRegion * > Branches, bool IsVersion11) |
| Return an MCDC record that indicates executed test vectors and condition pairs. | |
| LLVM_ABI unsigned | getMaxCounterID (const Counter &C) const |
A Counter mapping context is used to connect the counters, expressions and the obtained counter values.
Definition at line 685 of file CoverageMapping.h.
◆ dump() [1/2]
| void llvm::coverage::CounterMappingContext::dump ( const Counter & C) const | inline |
|---|
◆ dump() [2/2]
◆ evaluate()
◆ evaluateMCDCRegion()
Return an MCDC record that indicates executed test vectors and condition pairs.
Definition at line 554 of file CoverageMapping.cpp.
◆ getMaxCounterID()
◆ setBitmap()
| void llvm::coverage::CounterMappingContext::setBitmap ( BitVector && Bitmap_) | inline |
|---|
◆ setCounts()
| void llvm::coverage::CounterMappingContext::setCounts ( ArrayRef< uint64_t > Counts) | inline |
|---|
The documentation for this class was generated from the following files:
- include/llvm/ProfileData/Coverage/CoverageMapping.h
- lib/ProfileData/Coverage/CoverageMapping.cpp