LLVM 20.0.0git
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"

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 162 of file CoverageMapping.h.

Member Enumeration Documentation

◆ ExprKind

Enumerator
Subtract 
Add 

Definition at line 163 of file CoverageMapping.h.

Constructor & Destructor Documentation

◆ CounterExpression()

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

Definition at line 167 of file CoverageMapping.h.

Member Data Documentation

◆ Kind

ExprKind llvm::coverage::CounterExpression::Kind

Definition at line 164 of file CoverageMapping.h.

◆ LHS

Counter llvm::coverage::CounterExpression::LHS

Definition at line 165 of file CoverageMapping.h.

◆ RHS

Counter llvm::coverage::CounterExpression::RHS

Definition at line 165 of file CoverageMapping.h.


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