CIRCT 21.0.0git
|
#include <LongestPathAnalysis.h>
Public Member Functions | |
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 Public Member Functions | |
static StringRef | getTopModuleNameAttrName () |
Private Attributes | |
Impl * | impl |
mlir::MLIRContext * | ctx |
Definition at line 180 of file LongestPathAnalysis.h.
LongestPathAnalysis::LongestPathAnalysis | ( | Operation * | moduleOp, |
mlir::AnalysisManager & | am, | ||
const LongestPathAnalysisOption & | option = {} |
||
) |
Definition at line 1445 of file LongestPathAnalysis.cpp.
LongestPathAnalysis::~LongestPathAnalysis | ( | ) |
Definition at line 1443 of file LongestPathAnalysis.cpp.
LogicalResult LongestPathAnalysis::getAllPaths | ( | StringAttr | moduleName, |
SmallVectorImpl< DataflowPath > & | results, | ||
bool | elaboratePaths = false |
||
) | const |
Definition at line 1482 of file LongestPathAnalysis.cpp.
References getClosedPaths(), getOpenPathsFromInputPortsToInternal(), and getOpenPathsFromInternalToOutputPorts().
int64_t LongestPathAnalysis::getAverageMaxDelay | ( | Value | value | ) | const |
Definition at line 1454 of file LongestPathAnalysis.cpp.
References impl.
LogicalResult LongestPathAnalysis::getClosedPaths | ( | StringAttr | moduleName, |
SmallVectorImpl< DataflowPath > & | results, | ||
bool | elaboratePaths = false |
||
) | const |
Definition at line 1463 of file LongestPathAnalysis.cpp.
References impl.
Referenced by getAllPaths().
|
inline |
Definition at line 247 of file LongestPathAnalysis.h.
References ctx.
int64_t LongestPathAnalysis::getMaxDelay | ( | Value | value | ) | const |
Definition at line 1458 of file LongestPathAnalysis.cpp.
References impl.
LogicalResult LongestPathAnalysis::getOpenPathsFromInputPortsToInternal | ( | StringAttr | moduleName, |
SmallVectorImpl< DataflowPath > & | results | ||
) | const |
Definition at line 1471 of file LongestPathAnalysis.cpp.
References impl.
Referenced by getAllPaths().
LogicalResult LongestPathAnalysis::getOpenPathsFromInternalToOutputPorts | ( | StringAttr | moduleName, |
SmallVectorImpl< DataflowPath > & | results | ||
) | const |
Definition at line 1476 of file LongestPathAnalysis.cpp.
References impl.
Referenced by getAllPaths().
LogicalResult circt::aig::LongestPathAnalysis::getResults | ( | Value | value, |
size_t | bitPos, | ||
SmallVectorImpl< DataflowPath > & | results | ||
) | const |
|
inlinestatic |
Definition at line 243 of file LongestPathAnalysis.h.
ArrayRef< hw::HWModuleOp > LongestPathAnalysis::getTopModules | ( | ) | const |
Definition at line 1494 of file LongestPathAnalysis.cpp.
References impl.
bool LongestPathAnalysis::isAnalysisAvailable | ( | StringAttr | moduleName | ) | const |
Definition at line 1450 of file LongestPathAnalysis.cpp.
References impl.
|
private |
Definition at line 253 of file LongestPathAnalysis.h.
Referenced by getContext().
|
private |
Definition at line 251 of file LongestPathAnalysis.h.
Referenced by getAverageMaxDelay(), getClosedPaths(), getMaxDelay(), getOpenPathsFromInputPortsToInternal(), getOpenPathsFromInternalToOutputPorts(), getTopModules(), and isAnalysisAvailable().