LLVM: llvm::coverage::CounterExpressionBuilder Class Reference (original) (raw)
A Counter expression builder is used to construct the counter expressions. More...
#include "[llvm/ProfileData/Coverage/CoverageMapping.h](CoverageMapping%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| ArrayRef< CounterExpression > | getExpressions () const |
| LLVM_ABI Counter | add (Counter LHS, Counter RHS, bool Simplify=true) |
| Return a counter that represents the expression that adds LHS and RHS. | |
| LLVM_ABI Counter | subtract (Counter LHS, Counter RHS, bool Simplify=true) |
| Return a counter that represents the expression that subtracts RHS from LHS. | |
| LLVM_ABI Counter | subst (Counter C, const SubstMap &Map) |
A Counter expression builder is used to construct the counter expressions.
It avoids unnecessary duplication and simplifies algebraic expressions.
Definition at line 176 of file CoverageMapping.h.
◆ SubstMap
◆ add()
◆ getExpressions()
◆ subst()
◆ subtract()
The documentation for this class was generated from the following files:
- include/llvm/ProfileData/Coverage/CoverageMapping.h
- lib/ProfileData/Coverage/CoverageMapping.cpp