CIRCT 22.0.0git
|
#include <LongestPathAnalysis.h>
Public Member Functions | |
IncrementalLongestPathAnalysis (Operation *moduleOp, mlir::AnalysisManager &am) | |
FailureOr< int64_t > | getOrComputeMaxDelay (Value value, size_t bitPos) |
FailureOr< ArrayRef< OpenPath > > | getOrComputePaths (Value value, size_t bitPos) |
bool | isOperationValidToMutate (Operation *op) const |
void | notifyOperationModified (Operation *op) override |
void | notifyOperationReplaced (Operation *op, ValueRange replacement) override |
void | notifyOperationErased (Operation *op) override |
Private Attributes | |
bool | isAnalysisValid = true |
![]() | |
Impl * | impl |
Additional Inherited Members | |
![]() | |
LongestPathAnalysis (Operation *moduleOp, mlir::AnalysisManager &am, const LongestPathAnalysisOption &option={}) | |
~LongestPathAnalysis () | |
LogicalResult | getResults (Value value, size_t bitPos, SmallVectorImpl< DataflowPath > &results) const |
int64_t | getMaxDelay (Value value) const |
int64_t | getAverageMaxDelay (Value value) const |
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 |
![]() | |
static StringRef | getTopModuleNameAttrName () |
Definition at line 271 of file LongestPathAnalysis.h.
|
inline |
Definition at line 274 of file LongestPathAnalysis.h.
FailureOr< int64_t > IncrementalLongestPathAnalysis::getOrComputeMaxDelay | ( | Value | value, |
size_t | bitPos | ||
) |
Definition at line 1873 of file LongestPathAnalysis.cpp.
References getMaxDelayInPaths(), circt::aig::LongestPathAnalysis::impl, and isAnalysisValid.
FailureOr< ArrayRef< OpenPath > > IncrementalLongestPathAnalysis::getOrComputePaths | ( | Value | value, |
size_t | bitPos | ||
) |
Definition at line 1865 of file LongestPathAnalysis.cpp.
References circt::aig::LongestPathAnalysis::impl, and isAnalysisValid.
bool IncrementalLongestPathAnalysis::isOperationValidToMutate | ( | Operation * | op | ) | const |
Definition at line 1884 of file LongestPathAnalysis.cpp.
References circt::aig::LongestPathAnalysis::impl, and isAnalysisValid.
Referenced by notifyOperationModified().
|
override |
Definition at line 1919 of file LongestPathAnalysis.cpp.
References notifyOperationModified().
|
override |
Definition at line 1910 of file LongestPathAnalysis.cpp.
References isAnalysisValid, and isOperationValidToMutate().
Referenced by notifyOperationErased(), and notifyOperationReplaced().
|
override |
Definition at line 1914 of file LongestPathAnalysis.cpp.
References notifyOperationModified().
|
private |
Definition at line 293 of file LongestPathAnalysis.h.
Referenced by getOrComputeMaxDelay(), getOrComputePaths(), isOperationValidToMutate(), and notifyOperationModified().