CIRCT
20.0.0git
|
This class handles information about AST structures of each expressions. More...
Public Member Functions | |
EmittedExpressionStateManager (const LoweringOptions &options) | |
EmittedExpressionState | getExpressionState (Value value) |
bool | dispatchHeuristic (Operation &op) |
bool | shouldSpillWireBasedOnState (Operation &op) |
Return true if it is beneficial to spill the operation under the specified spilling heuristic. More... | |
Private Member Functions | |
EmittedExpressionState | visitUnhandledExpr (Operation *op) |
EmittedExpressionState | visitInvalidComb (Operation *op) |
EmittedExpressionState | visitUnhandledComb (Operation *op) |
EmittedExpressionState | visitInvalidTypeOp (Operation *op) |
EmittedExpressionState | visitUnhandledTypeOp (Operation *op) |
EmittedExpressionState | visitUnhandledSV (Operation *op) |
EmittedExpressionState | mergeOperandsStates (Operation *op) |
Private Attributes | |
const LoweringOptions & | options |
DenseMap< Value, EmittedExpressionState > | expressionStates |
This class handles information about AST structures of each expressions.
Definition at line 595 of file PrepareForEmission.cpp.
|
inline |
Definition at line 603 of file PrepareForEmission.cpp.
bool EmittedExpressionStateManager::dispatchHeuristic | ( | Operation & | op | ) |
Definition at line 731 of file PrepareForEmission.cpp.
References circt::LoweringOptions::SpillLargeTermsWithNamehints.
EmittedExpressionState EmittedExpressionStateManager::getExpressionState | ( | Value | value | ) |
Definition at line 656 of file PrepareForEmission.cpp.
References EmittedExpressionState::getBaseState().
|
private |
Definition at line 672 of file PrepareForEmission.cpp.
References EmittedExpressionState::mergeState().
bool EmittedExpressionStateManager::shouldSpillWireBasedOnState | ( | Operation & | op | ) |
Return true if it is beneficial to spill the operation under the specified spilling heuristic.
Definition at line 751 of file PrepareForEmission.cpp.
Referenced by prettifyAfterLegalization().
|
inlineprivate |
Definition at line 627 of file PrepareForEmission.cpp.
|
inlineprivate |
Definition at line 633 of file PrepareForEmission.cpp.
|
inlineprivate |
Definition at line 630 of file PrepareForEmission.cpp.
|
inlineprivate |
Definition at line 621 of file PrepareForEmission.cpp.
References EmittedExpressionState::getBaseState().
|
inlineprivate |
Definition at line 639 of file PrepareForEmission.cpp.
|
inlineprivate |
Definition at line 636 of file PrepareForEmission.cpp.
|
friend |
Definition at line 613 of file PrepareForEmission.cpp.
|
friend |
Definition at line 613 of file PrepareForEmission.cpp.
|
friend |
Definition at line 613 of file PrepareForEmission.cpp.
|
private |
Definition at line 652 of file PrepareForEmission.cpp.
|
private |
Definition at line 646 of file PrepareForEmission.cpp.