LLVM
7.0.0svn

A Counter expression builder is used to construct the counter expressions. More...
#include "llvm/ProfileData/Coverage/CoverageMapping.h"
Public Member Functions  
ArrayRef< CounterExpression >  getExpressions () const 
Counter  add (Counter LHS, Counter RHS) 
Return a counter that represents the expression that adds LHS and RHS. More...  
Counter  subtract (Counter LHS, Counter RHS) 
Return a counter that represents the expression that subtracts RHS from LHS. More...  
A Counter expression builder is used to construct the counter expressions.
It avoids unnecessary duplication and simplifies algebraic expressions.
Definition at line 157 of file CoverageMapping.h.
Return a counter that represents the expression that adds LHS and RHS.
Definition at line 127 of file CoverageMapping.cpp.
References llvm::coverage::CounterExpression::Add.

inline 
Definition at line 192 of file CoverageMapping.h.
References llvm::ARM_AM::add, and Expressions.
Return a counter that represents the expression that subtracts RHS from LHS.
Definition at line 131 of file CoverageMapping.cpp.
References llvm::coverage::CounterExpression::Subtract.