|
CIRCT 24.0.0git
|
A List which contains variadic length of elements with the same type. More...
#include <Evaluator.h>


Public Member Functions | |
| ListValue (om::ListType type, SmallVector< EvaluatorValuePtr > elements, Location loc) | |
| void | setElements (SmallVector< EvaluatorValuePtr > newElements) |
| ListValue (om::ListType type, Location loc) | |
| const auto & | getElements () const |
| om::ListType | getListType () const |
| Return the type of the value, which is a ListType. | |
Public Member Functions inherited from circt::om::evaluator::EvaluatorValue | |
| EvaluatorValue (MLIRContext *ctx, Kind kind, Location loc) | |
| Kind | getKind () const |
| MLIRContext * | getContext () const |
| bool | isFullyEvaluated () const |
| void | markFullyEvaluated () |
| bool | isUnknown () const |
| Return true if the value is unknown (has unknown in its fan-in). | |
| void | markUnknown () |
| Mark this value as unknown. | |
| MLIRContext * | getContext () |
| Return the associated MLIR context. | |
| Type | getType () const |
| Location | getLoc () const |
| void | setLoc (Location l) |
| void | setLocIfUnknown (Location l) |
Static Public Member Functions | |
| static bool | classof (const EvaluatorValue *e) |
| Implement LLVM RTTI. | |
Private Attributes | |
| om::ListType | type |
| SmallVector< EvaluatorValuePtr > | elements |
Additional Inherited Members | |
Public Types inherited from circt::om::evaluator::EvaluatorValue | |
| enum class | Kind { Attr , Object , List , BasePath , Path } |
A List which contains variadic length of elements with the same type.
Definition at line 149 of file Evaluator.h.
|
inline |
Definition at line 151 of file Evaluator.h.
References circt::om::evaluator::EvaluatorValue::markFullyEvaluated().
|
inline |
Definition at line 164 of file Evaluator.h.
|
inlinestatic |
Implement LLVM RTTI.
Definition at line 173 of file Evaluator.h.
References circt::om::evaluator::EvaluatorValue::getKind(), and circt::om::evaluator::EvaluatorValue::List.
|
inline |
Definition at line 167 of file Evaluator.h.
References elements.
|
inline |
Return the type of the value, which is a ListType.
Definition at line 170 of file Evaluator.h.
References type.
|
inline |
Definition at line 158 of file Evaluator.h.
References elements, and circt::om::evaluator::EvaluatorValue::markFullyEvaluated().
|
private |
Definition at line 179 of file Evaluator.h.
Referenced by getElements(), and setElements().
|
private |
Definition at line 178 of file Evaluator.h.
Referenced by esiaccel.types.WritePort::__serialize_msg(), hw.HWModuleOp::add_entry_block(), esiaccel.types.Port::connect(), getListType(), hw.HWModuleOp::input_indices(), fsm.MachineOp::instantiate(), hw.HWModuleOp::outputs(), and esiaccel.types.ReadPort::read().