|
CIRCT 22.0.0git
|
Represents a cut that has been successfully matched to a rewriting pattern. More...
#include <CutRewriter.h>

Public Member Functions | |
| MatchedPattern ()=default | |
| Default constructor creates an invalid matched pattern. | |
| MatchedPattern (const CutRewritePattern *pattern, SmallVector< DelayType, 1 > arrivalTimes, double area) | |
| Constructor for a valid matched pattern. | |
| DelayType | getArrivalTime (unsigned outputIndex) const |
| Get the arrival time of signals through this pattern. | |
| ArrayRef< DelayType > | getArrivalTimes () const |
| DelayType | getWorstOutputArrivalTime () const |
| const CutRewritePattern * | getPattern () const |
| Get the library pattern that was matched. | |
| double | getArea () const |
| Get the area cost of using this pattern. | |
Private Attributes | |
| const CutRewritePattern * | pattern = nullptr |
| The matched library pattern. | |
| SmallVector< DelayType, 1 > | arrivalTimes |
| Arrival times of outputs from this pattern. | |
| double | area = 0.0 |
| Area cost of this pattern. | |
Represents a cut that has been successfully matched to a rewriting pattern.
This class encapsulates the result of matching a cut against a rewriting pattern during optimization. It stores the matched pattern, the cut that was matched, and timing information needed for optimization.
Definition at line 119 of file CutRewriter.h.
|
default |
Default constructor creates an invalid matched pattern.
|
inline |
Constructor for a valid matched pattern.
Definition at line 131 of file CutRewriter.h.
| double MatchedPattern::getArea | ( | ) | const |
Get the area cost of using this pattern.
Definition at line 441 of file CutRewriter.cpp.
| DelayType MatchedPattern::getArrivalTime | ( | unsigned | outputIndex | ) | const |
Get the arrival time of signals through this pattern.
Definition at line 431 of file CutRewriter.cpp.
References arrivalTimes, assert(), and pattern.
| ArrayRef< DelayType > MatchedPattern::getArrivalTimes | ( | ) | const |
Definition at line 426 of file CutRewriter.cpp.
References arrivalTimes, assert(), and pattern.
| const CutRewritePattern * MatchedPattern::getPattern | ( | ) | const |
Get the library pattern that was matched.
Definition at line 436 of file CutRewriter.cpp.
| DelayType circt::synth::MatchedPattern::getWorstOutputArrivalTime | ( | ) | const |
|
private |
|
private |
Arrival times of outputs from this pattern.
Definition at line 123 of file CutRewriter.h.
Referenced by getArrivalTime(), and getArrivalTimes().
|
private |
The matched library pattern.
Definition at line 121 of file CutRewriter.h.
Referenced by getArea(), getArrivalTime(), getArrivalTimes(), and getPattern().