LLVM 22.0.0git
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 165 of file CoverageMapping.h.

Member Enumeration Documentation

◆ ExprKind

Enumerator
Subtract 
Add 

Definition at line 166 of file CoverageMapping.h.

Constructor & Destructor Documentation

◆ CounterExpression()

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

Definition at line 170 of file CoverageMapping.h.

References Kind, LHS, and RHS.

Member Data Documentation

◆ Kind

ExprKind llvm::coverage::CounterExpression::Kind

Definition at line 167 of file CoverageMapping.h.

Referenced by CounterExpression().

◆ LHS

Counter llvm::coverage::CounterExpression::LHS

Definition at line 168 of file CoverageMapping.h.

Referenced by CounterExpression().

◆ RHS

Counter llvm::coverage::CounterExpression::RHS

Definition at line 168 of file CoverageMapping.h.

Referenced by CounterExpression().


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