CIRCT
20.0.0git
|
Tuple values. More...
#include <Evaluator.h>
Public Types | |
using | TupleElements = llvm::SmallVector< EvaluatorValuePtr > |
Public Types inherited from circt::om::evaluator::EvaluatorValue | |
enum class | Kind { Attr , Object , List , Tuple , Map , Reference , BasePath , Path } |
Public Member Functions | |
TupleValue (TupleType type, TupleElements tupleElements, Location loc) | |
TupleValue (TupleType type, Location loc) | |
void | setElements (TupleElements newElements) |
LogicalResult | finalizeImpl () |
TupleType | getTupleType () const |
Return the type of the value, which is a TupleType. More... | |
const TupleElements & | getElements () const |
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 () |
MLIRContext * | getContext () |
Return the associated MLIR context. More... | |
Type | getType () const |
LogicalResult | finalize () |
Location | getLoc () const |
void | setLoc (Location l) |
void | setLocIfUnknown (Location l) |
Static Public Member Functions | |
static bool | classof (const EvaluatorValue *e) |
Implement LLVM RTTI. More... | |
Private Attributes | |
TupleType | type |
TupleElements | elements |
Tuple values.
Definition at line 308 of file Evaluator.h.
using circt::om::evaluator::TupleValue::TupleElements = llvm::SmallVector<EvaluatorValuePtr> |
Definition at line 309 of file Evaluator.h.
|
inline |
Definition at line 310 of file Evaluator.h.
References circt::om::evaluator::EvaluatorValue::markFullyEvaluated().
|
inline |
Definition at line 317 of file Evaluator.h.
|
inlinestatic |
Implement LLVM RTTI.
Definition at line 333 of file Evaluator.h.
References circt::om::evaluator::EvaluatorValue::getKind(), and circt::om::evaluator::EvaluatorValue::Tuple.
|
inline |
Definition at line 325 of file Evaluator.h.
References elements, and circt::om::evaluator::finalizeEvaluatorValue().
|
inline |
Definition at line 340 of file Evaluator.h.
References elements.
|
inline |
Return the type of the value, which is a TupleType.
Definition at line 338 of file Evaluator.h.
References type.
|
inline |
Definition at line 320 of file Evaluator.h.
References elements, and circt::om::evaluator::EvaluatorValue::markFullyEvaluated().
|
private |
Definition at line 344 of file Evaluator.h.
Referenced by finalizeImpl(), getElements(), and setElements().
|
private |
Definition at line 343 of file Evaluator.h.
Referenced by fsm.MachineOp::__init__(), esiaccel.types.WritePort::__serialize_msg(), hw.HWModuleOp::add_entry_block(), esiaccel.types.Port::connect(), getTupleType(), hw.HWModuleOp::input_indices(), fsm.MachineOp::instantiate(), hw.HWModuleOp::outputs(), and esiaccel.types.ReadPort::read().