LLVM  8.0.1
Public Types | Public Member Functions | Public Attributes | List of all members
llvm::coverage::CounterExpression Struct Reference

A Counter expression is a value that represents an arithmetic operation with two counters. More...

#include "llvm/ProfileData/Coverage/CoverageMapping.h"

Collaboration diagram for llvm::coverage::CounterExpression:
Collaboration graph
[legend]

Public Types

enum  ExprKind { Subtract, Add }
 

Public Member Functions

 CounterExpression (ExprKind Kind, Counter LHS, Counter RHS)
 

Public Attributes

ExprKind Kind
 
Counter LHS
 
Counter RHS
 

Detailed Description

A Counter expression is a value that represents an arithmetic operation with two counters.

Definition at line 146 of file CoverageMapping.h.

Member Enumeration Documentation

◆ ExprKind

Enumerator
Subtract 
Add 

Definition at line 147 of file CoverageMapping.h.

Constructor & Destructor Documentation

◆ CounterExpression()

llvm::coverage::CounterExpression::CounterExpression ( ExprKind  Kind,
Counter  LHS,
Counter  RHS 
)
inline

Definition at line 151 of file CoverageMapping.h.

Member Data Documentation

◆ Kind

ExprKind llvm::coverage::CounterExpression::Kind

◆ LHS

Counter llvm::coverage::CounterExpression::LHS

◆ RHS

Counter llvm::coverage::CounterExpression::RHS

The documentation for this struct was generated from the following file: