|
CIRCT 22.0.0git
|
Values which can be directly representable by MLIR attributes. More...
#include <Evaluator.h>


Classes | |
| struct | PrivateTag |
Public Member Functions | |
| Attribute | getAttr () const |
| template<typename AttrTy > | |
| AttrTy | getAs () const |
| LogicalResult | setAttr (Attribute attr) |
| LogicalResult | finalizeImpl () |
| Type | getType () 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. | |
| 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) |
| static std::shared_ptr< EvaluatorValue > | get (Attribute attr, LocationAttr loc={}) |
| static std::shared_ptr< EvaluatorValue > | get (Type type, LocationAttr loc={}) |
Private Member Functions | |
| AttributeValue (PrivateTag, Attribute attr, Location loc) | |
| AttributeValue (PrivateTag, Type type, Location loc) | |
Private Attributes | |
| Attribute | attr = {} |
| Type | type |
Friends | |
| std::shared_ptr< EvaluatorValue > | get (Attribute attr, LocationAttr loc) |
| std::shared_ptr< EvaluatorValue > | get (Type type, LocationAttr loc) |
Additional Inherited Members | |
Public Types inherited from circt::om::evaluator::EvaluatorValue | |
| enum class | Kind { Attr , Object , List , Reference , BasePath , Path } |
Values which can be directly representable by MLIR attributes.
Definition at line 132 of file Evaluator.h.
|
inlineprivate |
Definition at line 160 of file Evaluator.h.
References circt::om::evaluator::EvaluatorValue::markFullyEvaluated().
|
inlineprivate |
Definition at line 167 of file Evaluator.h.
|
inlinestatic |
Definition at line 138 of file Evaluator.h.
References circt::om::evaluator::EvaluatorValue::Attr, and circt::om::evaluator::EvaluatorValue::getKind().
| LogicalResult circt::om::evaluator::AttributeValue::finalizeImpl | ( | ) |
Definition at line 828 of file Evaluator.cpp.
References getLoc().
|
static |
Definition at line 836 of file Evaluator.cpp.
References circt::om::getEvaluatorValuesFromAttributes().
Referenced by circt::om::Evaluator::evaluateIntegerBinaryArithmetic().
|
static |
Definition at line 859 of file Evaluator.cpp.
|
inline |
Definition at line 135 of file Evaluator.h.
References attr.
Referenced by circt::om::Evaluator::evaluateIntegerBinaryArithmetic().
|
inline |
Definition at line 133 of file Evaluator.h.
References attr.
|
inline |
Definition at line 148 of file Evaluator.h.
References type.
| LogicalResult circt::om::evaluator::AttributeValue::setAttr | ( | Attribute | attr | ) |
Definition at line 815 of file Evaluator.cpp.
References getLoc().
|
friend |
|
friend |
|
private |
Definition at line 170 of file Evaluator.h.
|
private |
Definition at line 171 of file Evaluator.h.
Referenced by esiaccel.types.WritePort::__serialize_msg(), hw.HWModuleOp::add_entry_block(), esiaccel.types.Port::connect(), getType(), hw.HWModuleOp::input_indices(), fsm.MachineOp::instantiate(), hw.HWModuleOp::outputs(), and esiaccel.types.ReadPort::read().