LLVM 20.0.0git
|
Emulate SmallVector<CondState> with a pair of BitVector. More...
#include "llvm/ProfileData/Coverage/CoverageMapping.h"
Public Member Functions | |
TestVector (unsigned N) | |
~DontCare | |
CondState | operator[] (int I) const |
Emulate RHS SmallVector::operator[]. | |
auto | getIndex () const |
Equivalent to buildTestVector's Index. | |
void | set (int I, CondState Val) |
Set the condition Val at position I . | |
void | push_back (CondState Val) |
Emulate SmallVector::push_back. | |
auto | getDifferences (const TestVector &B) const |
For each element: | |
Emulate SmallVector<CondState> with a pair of BitVector.
True False DontCare (Impossible)
Values: True False False True Visited: True True False False
Definition at line 397 of file CoverageMapping.h.
|
inline |
~DontCare
Default values are filled with DontCare.
Definition at line 403 of file CoverageMapping.h.
|
inline |
For each element:
Definition at line 434 of file CoverageMapping.h.
|
inline |
Equivalent to buildTestVector's Index.
Definition at line 412 of file CoverageMapping.h.
References llvm::BitVector::getData().
|
inline |
Emulate RHS SmallVector::operator[].
Definition at line 406 of file CoverageMapping.h.
References I, llvm::coverage::MCDCRecord::MCDC_DontCare, llvm::coverage::MCDCRecord::MCDC_False, and llvm::coverage::MCDCRecord::MCDC_True.
|
inline |
Emulate SmallVector::push_back.
Definition at line 422 of file CoverageMapping.h.
References assert(), llvm::coverage::MCDCRecord::MCDC_DontCare, llvm::coverage::MCDCRecord::MCDC_True, llvm::BitVector::push_back(), and llvm::BitVector::size().
|
inline |
Set the condition Val
at position I
.
This emulates LHS SmallVector::operator[].
Definition at line 416 of file CoverageMapping.h.
References I, llvm::coverage::MCDCRecord::MCDC_DontCare, and llvm::coverage::MCDCRecord::MCDC_True.