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 116 of file LongestPathAnalysis.h.
using circt::aig::DataflowPath::FanOutType = std::variant<Object, OutputPort> |
Definition at line 122 of file LongestPathAnalysis.h.
using circt::aig::DataflowPath::OutputPort = std::tuple<hw::HWModuleOp, size_t, size_t> |
Definition at line 121 of file LongestPathAnalysis.h.
|
inline |
Definition at line 125 of file LongestPathAnalysis.h.
|
inline |
Definition at line 129 of file LongestPathAnalysis.h.
|
default |
|
inline |
Definition at line 134 of file LongestPathAnalysis.h.
References circt::aig::OpenPath::delay, and path.
Referenced by circt::aig::LongestPathCollection::sortInDescendingOrder().
|
inline |
Definition at line 135 of file LongestPathAnalysis.h.
References circt::aig::OpenPath::fanIn, and path.
|
inline |
Definition at line 136 of file LongestPathAnalysis.h.
References fanOut.
Referenced by circt::aig::toJSON().
|
inline |
Definition at line 137 of file LongestPathAnalysis.h.
References fanOut.
|
inline |
Definition at line 138 of file LongestPathAnalysis.h.
References fanOut.
Location DataflowPath::getFanOutLoc | ( | ) |
Definition at line 301 of file LongestPathAnalysis.cpp.
|
inline |
Definition at line 142 of file LongestPathAnalysis.h.
References circt::aig::OpenPath::history, and path.
|
inline |
Definition at line 145 of file LongestPathAnalysis.h.
References path.
Referenced by circt::aig::toJSON().
|
inline |
Definition at line 141 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 283 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 246 of file LongestPathAnalysis.cpp.
References aig.DataflowPath::root().
void DataflowPath::printFanOut | ( | llvm::raw_ostream & | os | ) |
Definition at line 235 of file LongestPathAnalysis.cpp.
References aig.DataflowPath::root().
|
inline |
Definition at line 150 of file LongestPathAnalysis.h.
References circt::aig::OpenPath::delay, and path.
|
private |
Definition at line 163 of file LongestPathAnalysis.h.
Referenced by getFanOut(), getFanOutAsObject(), and getFanOutAsPort().
|
private |
Definition at line 164 of file LongestPathAnalysis.h.
Referenced by getDelay(), getFanIn(), getHistory(), getPath(), and setDelay().
|
private |
Definition at line 165 of file LongestPathAnalysis.h.
Referenced by getRoot().