CIRCT  20.0.0git
Classes | Typedefs | Functions
circt::om::evaluator Namespace Reference

Classes

struct  EvaluatorValue
 Base class for evaluator runtime values. More...
 
struct  ReferenceValue
 Values which can be used as pointers to different values. More...
 
struct  AttributeValue
 Values which can be directly representable by MLIR attributes. More...
 
struct  ListValue
 A List which contains variadic length of elements with the same type. More...
 
struct  MapValue
 A Map value. More...
 
struct  ObjectValue
 A composite Object, which has a type and fields. More...
 
struct  TupleValue
 Tuple values. More...
 
struct  BasePathValue
 A Basepath value. More...
 
struct  PathValue
 A Path value. More...
 

Typedefs

using EvaluatorValuePtr = std::shared_ptr< EvaluatorValue >
 A value of an object in memory. More...
 
using ObjectFields = SmallDenseMap< StringAttr, EvaluatorValuePtr >
 The fields of a composite Object, currently represented as a map. More...
 

Functions

static LogicalResult finalizeEvaluatorValue (EvaluatorValuePtr &value)
 

Typedef Documentation

◆ EvaluatorValuePtr

using circt::om::evaluator::EvaluatorValuePtr = typedef std::shared_ptr<EvaluatorValue>

A value of an object in memory.

It is either a composite Object, or a primitive Attribute. Further refinement is expected.

Definition at line 38 of file Evaluator.h.

◆ ObjectFields

The fields of a composite Object, currently represented as a map.

Further refinement is expected.

Definition at line 42 of file Evaluator.h.

Function Documentation

◆ finalizeEvaluatorValue()

static LogicalResult circt::om::evaluator::finalizeEvaluatorValue ( EvaluatorValuePtr value)
inlinestatic