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


Public Member Functions | |
| BasePathValue (MLIRContext *context) | |
| BasePathValue (om::PathAttr path, Location loc) | |
| Create a path value representing a basepath. | |
| om::PathAttr | getPath () const |
| void | setBasepath (const BasePathValue &basepath) |
| Set the basepath which this path is relative to. | |
| LogicalResult | finalizeImpl () |
| Finalize the evaluator value. | |
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) |
| Implement LLVM RTTI. | |
Private Attributes | |
| om::PathAttr | path |
Additional Inherited Members | |
Public Types inherited from circt::om::evaluator::EvaluatorValue | |
| enum class | Kind { Attr , Object , List , Reference , BasePath , Path } |
A Basepath value.
Definition at line 279 of file Evaluator.h.
| evaluator::BasePathValue::BasePathValue | ( | MLIRContext * | context | ) |
Definition at line 718 of file Evaluator.cpp.
| circt::om::evaluator::BasePathValue::BasePathValue | ( | om::PathAttr | path, |
| Location | loc | ||
| ) |
Create a path value representing a basepath.
|
inlinestatic |
Implement LLVM RTTI.
Definition at line 294 of file Evaluator.h.
References circt::om::evaluator::EvaluatorValue::BasePath, and circt::om::evaluator::EvaluatorValue::getKind().
|
inline |
Finalize the evaluator value.
Definition at line 291 of file Evaluator.h.
| PathAttr evaluator::BasePathValue::getPath | ( | ) | const |
Definition at line 727 of file Evaluator.cpp.
References assert().
Referenced by circt::om::evaluator::PathValue::setBasepath().
| void evaluator::BasePathValue::setBasepath | ( | const BasePathValue & | basepath | ) |
Set the basepath which this path is relative to.
Definition at line 732 of file Evaluator.cpp.
|
private |
Definition at line 299 of file Evaluator.h.
Referenced by setBasepath().