CIRCT 22.0.0git
|
#include <LongestPathAnalysis.h>
Public Types | |
using | OutputPort = std::tuple< hw::HWModuleOp, size_t, size_t > |
using | FanOutType = std::variant< Object, OutputPort > |
Public Member Functions | |
DataflowPath (Object fanOut, OpenPath fanIn, hw::HWModuleOp root) | |
DataflowPath (OutputPort fanOut, OpenPath fanIn, hw::HWModuleOp root) | |
DataflowPath ()=default | |
int64_t | getDelay () const |
const Object & | getFanIn () const |
const FanOutType & | getFanOut () const |
const Object & | getFanOutAsObject () const |
const OutputPort & | getFanOutAsPort () const |
hw::HWModuleOp | getRoot () const |
const llvm::ImmutableList< DebugPoint > & | getHistory () const |
const OpenPath & | getPath () const |
Location | getFanOutLoc () |
void | setDelay (int64_t delay) |
void | print (llvm::raw_ostream &os) |
void | printFanOut (llvm::raw_ostream &os) |
DataflowPath & | prependPaths (circt::igraph::InstancePathCache &cache, llvm::ImmutableListFactory< DebugPoint > *debugPointFactory, circt::igraph::InstancePath path) |
Private Attributes | |
FanOutType | fanOut |
OpenPath | path |
hw::HWModuleOp | root |
Definition at line 121 of file LongestPathAnalysis.h.
using circt::aig::DataflowPath::FanOutType = std::variant<Object, OutputPort> |
Definition at line 127 of file LongestPathAnalysis.h.
using circt::aig::DataflowPath::OutputPort = std::tuple<hw::HWModuleOp, size_t, size_t> |
Definition at line 126 of file LongestPathAnalysis.h.
|
inline |
Definition at line 130 of file LongestPathAnalysis.h.
|
inline |
Definition at line 134 of file LongestPathAnalysis.h.
|
default |
|
inline |
Definition at line 139 of file LongestPathAnalysis.h.
References circt::aig::OpenPath::delay, and path.
Referenced by circt::aig::LongestPathCollection::sortInDescendingOrder().
|
inline |
Definition at line 140 of file LongestPathAnalysis.h.
References circt::aig::OpenPath::fanIn, and path.
|
inline |
Definition at line 141 of file LongestPathAnalysis.h.
References fanOut.
Referenced by circt::aig::toJSON().
|
inline |
Definition at line 142 of file LongestPathAnalysis.h.
References fanOut.
|
inline |
Definition at line 143 of file LongestPathAnalysis.h.
References fanOut.
Location DataflowPath::getFanOutLoc | ( | ) |
Definition at line 367 of file LongestPathAnalysis.cpp.
|
inline |
Definition at line 147 of file LongestPathAnalysis.h.
References circt::aig::OpenPath::history, and path.
|
inline |
Definition at line 150 of file LongestPathAnalysis.h.
References path.
Referenced by circt::aig::toJSON().
|
inline |
Definition at line 146 of file LongestPathAnalysis.h.
References root.
Referenced by circt::aig::toJSON().
DataflowPath & DataflowPath::prependPaths | ( | circt::igraph::InstancePathCache & | cache, |
llvm::ImmutableListFactory< DebugPoint > * | debugPointFactory, | ||
circt::igraph::InstancePath | path | ||
) |
Definition at line 349 of file LongestPathAnalysis.cpp.
References assert(), circt::igraph::InstancePath::empty(), aig.DataflowPath::root(), and circt::igraph::InstancePath::top().
void DataflowPath::print | ( | llvm::raw_ostream & | os | ) |
Definition at line 312 of file LongestPathAnalysis.cpp.
References aig.DataflowPath::root().
void DataflowPath::printFanOut | ( | llvm::raw_ostream & | os | ) |
Definition at line 301 of file LongestPathAnalysis.cpp.
References aig.DataflowPath::root().
|
inline |
Definition at line 155 of file LongestPathAnalysis.h.
References circt::aig::OpenPath::delay, and path.
|
private |
Definition at line 168 of file LongestPathAnalysis.h.
Referenced by getFanOut(), getFanOutAsObject(), and getFanOutAsPort().
|
private |
Definition at line 169 of file LongestPathAnalysis.h.
Referenced by getDelay(), getFanIn(), getHistory(), getPath(), and setDelay().
|
private |
Definition at line 170 of file LongestPathAnalysis.h.
Referenced by getRoot().