LLVM API Documentation

Public Member Functions
llvm::coverage::CounterExpressionBuilder Class Reference

A Counter expression builder is used to construct the counter expressions. It avoids unecessary duplication and simplifies algebraic expressions. More...

#include <CoverageMapping.h>

List of all members.

Public Member Functions

 CounterExpressionBuilder (unsigned NumCounterValues)
ArrayRef< CounterExpressiongetExpressions () const
Counter add (Counter LHS, Counter RHS)
 Return a counter that represents the expression that adds LHS and RHS.
Counter subtract (Counter LHS, Counter RHS)
 Return a counter that represents the expression that subtracts RHS from LHS.

Detailed Description

A Counter expression builder is used to construct the counter expressions. It avoids unecessary duplication and simplifies algebraic expressions.

Definition at line 95 of file CoverageMapping.h.


Constructor & Destructor Documentation

Definition at line 21 of file CoverageMapping.cpp.

References llvm::SmallVectorImpl< T >::resize().


Member Function Documentation

Return a counter that represents the expression that adds LHS and RHS.

Definition at line 82 of file CoverageMapping.cpp.

References llvm::coverage::CounterExpression::Add.

Definition at line 120 of file CoverageMapping.h.

Return a counter that represents the expression that subtracts RHS from LHS.

Definition at line 86 of file CoverageMapping.cpp.

References llvm::coverage::CounterExpression::Subtract.


The documentation for this class was generated from the following files: