|
CIRCT 22.0.0git
|
#include <LongestPathAnalysis.h>


Public Member Functions | |
| LongestPathAnalysis (Operation *moduleOp, mlir::AnalysisManager &am, const LongestPathAnalysisOptions &option={}) | |
| ~LongestPathAnalysis () | |
| LogicalResult | computeGlobalPaths (Value value, size_t bitPos, SmallVectorImpl< DataflowPath > &results) |
| FailureOr< ArrayRef< OpenPath > > | computeLocalPaths (Value value, size_t bitPos) |
| FailureOr< int64_t > | getMaxDelay (Value value, int64_t bitPos=-1) |
| FailureOr< int64_t > | getAverageMaxDelay (Value value) |
| LogicalResult | getInternalPaths (StringAttr moduleName, SmallVectorImpl< DataflowPath > &results, bool elaboratePaths=false) const |
| LogicalResult | getOpenPathsFromInputPortsToInternal (StringAttr moduleName, SmallVectorImpl< DataflowPath > &results) const |
| LogicalResult | getOpenPathsFromInternalToOutputPorts (StringAttr moduleName, SmallVectorImpl< DataflowPath > &results) const |
| LogicalResult | getAllPaths (StringAttr moduleName, SmallVectorImpl< DataflowPath > &results, bool elaboratePaths=false) const |
| bool | isAnalysisAvailable (StringAttr moduleName) const |
| llvm::ArrayRef< hw::HWModuleOp > | getTopModules () const |
| MLIRContext * | getContext () const |
Protected Attributes | |
| Impl * | impl |
Private Attributes | |
| mlir::MLIRContext * | ctx |
| bool | isAnalysisValid = true |
Friends | |
| class | IncrementalLongestPathAnalysis |
Definition at line 229 of file LongestPathAnalysis.h.
| LongestPathAnalysis::LongestPathAnalysis | ( | Operation * | moduleOp, |
| mlir::AnalysisManager & | am, | ||
| const LongestPathAnalysisOptions & | option = {} |
||
| ) |
| LongestPathAnalysis::~LongestPathAnalysis | ( | ) |
Definition at line 1906 of file LongestPathAnalysis.cpp.
| LogicalResult LongestPathAnalysis::computeGlobalPaths | ( | Value | value, |
| size_t | bitPos, | ||
| SmallVectorImpl< DataflowPath > & | results | ||
| ) |
Definition at line 1988 of file LongestPathAnalysis.cpp.
References impl, and isAnalysisValid.
| FailureOr< ArrayRef< OpenPath > > LongestPathAnalysis::computeLocalPaths | ( | Value | value, |
| size_t | bitPos | ||
| ) |
Definition at line 1981 of file LongestPathAnalysis.cpp.
References impl, and isAnalysisValid.
| LogicalResult LongestPathAnalysis::getAllPaths | ( | StringAttr | moduleName, |
| SmallVectorImpl< DataflowPath > & | results, | ||
| bool | elaboratePaths = false |
||
| ) | const |
Definition at line 1964 of file LongestPathAnalysis.cpp.
References getInternalPaths(), getOpenPathsFromInputPortsToInternal(), and getOpenPathsFromInternalToOutputPorts().
| FailureOr< int64_t > LongestPathAnalysis::getAverageMaxDelay | ( | Value | value | ) |
Definition at line 1927 of file LongestPathAnalysis.cpp.
References impl.
|
inline |
Definition at line 291 of file LongestPathAnalysis.h.
References ctx.
| LogicalResult LongestPathAnalysis::getInternalPaths | ( | StringAttr | moduleName, |
| SmallVectorImpl< DataflowPath > & | results, | ||
| bool | elaboratePaths = false |
||
| ) | const |
Definition at line 1937 of file LongestPathAnalysis.cpp.
References impl, and isAnalysisValid.
Referenced by getAllPaths().
| FailureOr< int64_t > LongestPathAnalysis::getMaxDelay | ( | Value | value, |
| int64_t | bitPos = -1 |
||
| ) |
Definition at line 1931 of file LongestPathAnalysis.cpp.
References impl.
| LogicalResult LongestPathAnalysis::getOpenPathsFromInputPortsToInternal | ( | StringAttr | moduleName, |
| SmallVectorImpl< DataflowPath > & | results | ||
| ) | const |
Definition at line 1947 of file LongestPathAnalysis.cpp.
References impl, and isAnalysisValid.
Referenced by getAllPaths().
| LogicalResult LongestPathAnalysis::getOpenPathsFromInternalToOutputPorts | ( | StringAttr | moduleName, |
| SmallVectorImpl< DataflowPath > & | results | ||
| ) | const |
Definition at line 1955 of file LongestPathAnalysis.cpp.
References impl, and isAnalysisValid.
Referenced by getAllPaths().
| ArrayRef< hw::HWModuleOp > LongestPathAnalysis::getTopModules | ( | ) | const |
Definition at line 1976 of file LongestPathAnalysis.cpp.
References impl.
| bool LongestPathAnalysis::isAnalysisAvailable | ( | StringAttr | moduleName | ) | const |
Definition at line 1923 of file LongestPathAnalysis.cpp.
References impl.
|
friend |
Definition at line 294 of file LongestPathAnalysis.h.
|
private |
Definition at line 299 of file LongestPathAnalysis.h.
Referenced by getContext().
|
protected |
Definition at line 296 of file LongestPathAnalysis.h.
Referenced by computeGlobalPaths(), computeLocalPaths(), getAverageMaxDelay(), getInternalPaths(), getMaxDelay(), getOpenPathsFromInputPortsToInternal(), getOpenPathsFromInternalToOutputPorts(), getTopModules(), isAnalysisAvailable(), and circt::synth::IncrementalLongestPathAnalysis::isOperationValidToMutate().
|
private |
Definition at line 300 of file LongestPathAnalysis.h.
Referenced by computeGlobalPaths(), computeLocalPaths(), getInternalPaths(), getOpenPathsFromInputPortsToInternal(), getOpenPathsFromInternalToOutputPorts(), circt::synth::IncrementalLongestPathAnalysis::isOperationValidToMutate(), and circt::synth::IncrementalLongestPathAnalysis::notifyOperationModified().