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 | getClosedPaths (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 1898 of file LongestPathAnalysis.cpp.
LogicalResult LongestPathAnalysis::computeGlobalPaths | ( | Value | value, |
size_t | bitPos, | ||
SmallVectorImpl< DataflowPath > & | results | ||
) |
Definition at line 1980 of file LongestPathAnalysis.cpp.
References impl, and isAnalysisValid.
FailureOr< ArrayRef< OpenPath > > LongestPathAnalysis::computeLocalPaths | ( | Value | value, |
size_t | bitPos | ||
) |
Definition at line 1973 of file LongestPathAnalysis.cpp.
References impl, and isAnalysisValid.
LogicalResult LongestPathAnalysis::getAllPaths | ( | StringAttr | moduleName, |
SmallVectorImpl< DataflowPath > & | results, | ||
bool | elaboratePaths = false |
||
) | const |
Definition at line 1956 of file LongestPathAnalysis.cpp.
References getClosedPaths(), getOpenPathsFromInputPortsToInternal(), and getOpenPathsFromInternalToOutputPorts().
FailureOr< int64_t > LongestPathAnalysis::getAverageMaxDelay | ( | Value | value | ) |
Definition at line 1919 of file LongestPathAnalysis.cpp.
References impl.
LogicalResult LongestPathAnalysis::getClosedPaths | ( | StringAttr | moduleName, |
SmallVectorImpl< DataflowPath > & | results, | ||
bool | elaboratePaths = false |
||
) | const |
Definition at line 1929 of file LongestPathAnalysis.cpp.
References impl, and isAnalysisValid.
Referenced by getAllPaths().
|
inline |
Definition at line 291 of file LongestPathAnalysis.h.
References ctx.
FailureOr< int64_t > LongestPathAnalysis::getMaxDelay | ( | Value | value, |
int64_t | bitPos = -1 |
||
) |
Definition at line 1923 of file LongestPathAnalysis.cpp.
References impl.
LogicalResult LongestPathAnalysis::getOpenPathsFromInputPortsToInternal | ( | StringAttr | moduleName, |
SmallVectorImpl< DataflowPath > & | results | ||
) | const |
Definition at line 1939 of file LongestPathAnalysis.cpp.
References impl, and isAnalysisValid.
Referenced by getAllPaths().
LogicalResult LongestPathAnalysis::getOpenPathsFromInternalToOutputPorts | ( | StringAttr | moduleName, |
SmallVectorImpl< DataflowPath > & | results | ||
) | const |
Definition at line 1947 of file LongestPathAnalysis.cpp.
References impl, and isAnalysisValid.
Referenced by getAllPaths().
ArrayRef< hw::HWModuleOp > LongestPathAnalysis::getTopModules | ( | ) | const |
Definition at line 1968 of file LongestPathAnalysis.cpp.
References impl.
bool LongestPathAnalysis::isAnalysisAvailable | ( | StringAttr | moduleName | ) | const |
Definition at line 1915 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(), getClosedPaths(), getMaxDelay(), getOpenPathsFromInputPortsToInternal(), getOpenPathsFromInternalToOutputPorts(), getTopModules(), isAnalysisAvailable(), and circt::synth::IncrementalLongestPathAnalysis::isOperationValidToMutate().
|
private |
Definition at line 300 of file LongestPathAnalysis.h.
Referenced by computeGlobalPaths(), computeLocalPaths(), getClosedPaths(), getOpenPathsFromInputPortsToInternal(), getOpenPathsFromInternalToOutputPorts(), circt::synth::IncrementalLongestPathAnalysis::isOperationValidToMutate(), and circt::synth::IncrementalLongestPathAnalysis::notifyOperationModified().