Loading [MathJax]/jax/input/TeX/config.js
CIRCT 22.0.0git
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
circt::llhd::deseq::ValueEntry Struct Reference

A single entry in a value table. More...

#include <DeseqUtils.h>

Collaboration diagram for circt::llhd::deseq::ValueEntry:
Collaboration graph
[legend]

Public Member Functions

 ValueEntry ()=default
 
 ValueEntry (Value value)
 
bool isPoison () const
 
bool isUnknown () const
 
void merge (ValueEntry other)
 
bool operator== (ValueEntry other) const
 
bool operator!= (ValueEntry other) const
 

Static Public Member Functions

static ValueEntry getPoison ()
 
static ValueEntry getUnknown ()
 

Public Attributes

Value value
 

Detailed Description

A single entry in a value table.

Tracks the condition under which a value appears. Can be set to a special "poison" and "unknown" marker.

Definition at line 138 of file DeseqUtils.h.

Constructor & Destructor Documentation

◆ ValueEntry() [1/2]

circt::llhd::deseq::ValueEntry::ValueEntry ( )
default

◆ ValueEntry() [2/2]

circt::llhd::deseq::ValueEntry::ValueEntry ( Value  value)
inline

Definition at line 142 of file DeseqUtils.h.

Member Function Documentation

◆ getPoison()

static ValueEntry circt::llhd::deseq::ValueEntry::getPoison ( )
inlinestatic

Definition at line 146 of file DeseqUtils.h.

Referenced by isPoison(), and merge().

◆ getUnknown()

static ValueEntry circt::llhd::deseq::ValueEntry::getUnknown ( )
inlinestatic

Definition at line 149 of file DeseqUtils.h.

Referenced by isUnknown(), and merge().

◆ isPoison()

bool circt::llhd::deseq::ValueEntry::isPoison ( ) const
inline

Definition at line 144 of file DeseqUtils.h.

References getPoison().

Referenced by merge(), and circt::llhd::deseq::operator<<().

◆ isUnknown()

bool circt::llhd::deseq::ValueEntry::isUnknown ( ) const
inline

Definition at line 145 of file DeseqUtils.h.

References getUnknown().

Referenced by merge(), and circt::llhd::deseq::operator<<().

◆ merge()

void ValueEntry::merge ( ValueEntry  other)

Definition at line 225 of file DeseqUtils.cpp.

References getPoison(), getUnknown(), isPoison(), isUnknown(), and value.

◆ operator!=()

bool circt::llhd::deseq::ValueEntry::operator!= ( ValueEntry  other) const
inline

Definition at line 154 of file DeseqUtils.h.

References value.

◆ operator==()

bool circt::llhd::deseq::ValueEntry::operator== ( ValueEntry  other) const
inline

Definition at line 153 of file DeseqUtils.h.

References value.

Member Data Documentation

◆ value

Value circt::llhd::deseq::ValueEntry::value

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