clang 20.0.0git
|
The Counter with an optional additional Counter for branches. More...
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CodeGen/CodeGenModule.h"
Classes | |
class | ValueOpt |
Optional value. More... | |
Public Member Functions | |
CounterPair (unsigned Val) | |
May be None. | |
CounterPair () | |
Public Attributes | |
ValueOpt | Executed |
ValueOpt | Skipped |
The Counter with an optional additional Counter for branches.
Skipped
counter can be calculated with Executed
and a common Counter (like Parent
) as (Parent-Executed)
.
In SingleByte mode, Counters are binary. Subtraction is not applicable (but addition is capable). In this case, both Executed
and Skipped
counters are required. Skipped
is None
by default. It is allocated in the coverage mapping.
There might be cases that Parent
could be induced with (Executed+Skipped)
. This is not always applicable.
Definition at line 116 of file CodeGenModule.h.
|
inline |
|
inline |
Definition at line 146 of file CodeGenModule.h.
ValueOpt clang::CodeGen::CounterPair::Executed |
Definition at line 139 of file CodeGenModule.h.
ValueOpt clang::CodeGen::CounterPair::Skipped |
Definition at line 140 of file CodeGenModule.h.