|
CIRCT 22.0.0git
|
A Path value. More...
#include <Evaluator.h>


Public Member Functions | |
| PathValue (om::TargetKindAttr targetKind, om::PathAttr path, StringAttr module, StringAttr ref, StringAttr field, Location loc) | |
| Create a path value representing a regular path. | |
| om::TargetKindAttr | getTargetKind () const |
| om::PathAttr | getPath () const |
| StringAttr | getModule () const |
| StringAttr | getRef () const |
| StringAttr | getField () const |
| StringAttr | getAsString () const |
| void | setBasepath (const BasePathValue &basepath) |
| LogicalResult | finalizeImpl () |
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 PathValue | getEmptyPath (Location loc) |
| static bool | classof (const EvaluatorValue *e) |
| Implement LLVM RTTI. | |
Private Attributes | |
| om::TargetKindAttr | targetKind |
| om::PathAttr | path |
| StringAttr StringAttr | ref |
| StringAttr | field |
Additional Inherited Members | |
Public Types inherited from circt::om::evaluator::EvaluatorValue | |
| enum class | Kind { Attr , Object , List , Reference , BasePath , Path } |
A Path value.
Definition at line 303 of file Evaluator.h.
| evaluator::PathValue::PathValue | ( | om::TargetKindAttr | targetKind, |
| om::PathAttr | path, | ||
| StringAttr | module, | ||
| StringAttr | ref, | ||
| StringAttr | field, | ||
| Location | loc | ||
| ) |
Create a path value representing a regular path.
Definition at line 745 of file Evaluator.cpp.
|
inlinestatic |
Implement LLVM RTTI.
Definition at line 328 of file Evaluator.h.
References circt::om::evaluator::EvaluatorValue::getKind(), and circt::om::evaluator::EvaluatorValue::Path.
|
inline |
Definition at line 325 of file Evaluator.h.
| StringAttr evaluator::PathValue::getAsString | ( | ) | const |
Definition at line 757 of file Evaluator.cpp.
|
static |
Definition at line 751 of file Evaluator.cpp.
References circt::om::evaluator::EvaluatorValue::markFullyEvaluated().
Referenced by circt::om::Evaluator::getOrCreateValue().
|
inline |
Definition at line 318 of file Evaluator.h.
References field.
|
inline |
Definition at line 314 of file Evaluator.h.
|
inline |
Definition at line 312 of file Evaluator.h.
References path.
|
inline |
Definition at line 316 of file Evaluator.h.
References ref.
|
inline |
Definition at line 310 of file Evaluator.h.
References targetKind.
| void evaluator::PathValue::setBasepath | ( | const BasePathValue & | basepath | ) |
Definition at line 802 of file Evaluator.cpp.
References assert(), and circt::om::evaluator::BasePathValue::getPath().
|
private |
Definition at line 337 of file Evaluator.h.
Referenced by getField().
|
private |
Definition at line 334 of file Evaluator.h.
Referenced by getPath().
|
private |
Definition at line 336 of file Evaluator.h.
Referenced by getRef().
|
private |
Definition at line 333 of file Evaluator.h.
Referenced by getTargetKind().