clang 22.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 117 of file CodeGenModule.h.
|
inline |
May be None.
Initialized with Skipped=None.
Definition at line 144 of file CodeGenModule.h.
References Executed.
|
inline |
Definition at line 147 of file CodeGenModule.h.
References Executed.
ValueOpt clang::CodeGen::CounterPair::Executed |
Definition at line 140 of file CodeGenModule.h.
Referenced by CounterPair(), and CounterPair().
ValueOpt clang::CodeGen::CounterPair::Skipped |
Definition at line 141 of file CodeGenModule.h.