CIRCT 22.0.0git
|
This class provides a thread-safe interface to access the analysis results. More...
Public Member Functions | |
Context (igraph::InstanceGraph *instanceGraph, const LongestPathAnalysisOptions &option) | |
void | notifyStart (StringAttr name) |
void | notifyEnd (StringAttr name) |
const LocalVisitor * | getLocalVisitor (StringAttr name) const |
LocalVisitor * | getLocalVisitorMutable (StringAttr name) const |
bool | doTraceDebugPoints () const |
bool | doLazyComputation () const |
bool | doKeepOnlyMaxDelayPaths () const |
bool | isLocalScope () const |
StringAttr | getTopModuleName () const |
Public Attributes | |
llvm::MapVector< StringAttr, std::unique_ptr< LocalVisitor > > | localVisitors |
circt::igraph::InstanceGraph * | instanceGraph = nullptr |
Private Member Functions | |
bool | isRunningParallel () const |
Private Attributes | |
llvm::sys::SmartMutex< true > | mutex |
llvm::SetVector< StringAttr > | running |
LongestPathAnalysisOptions | option |
This class provides a thread-safe interface to access the analysis results.
Definition at line 448 of file LongestPathAnalysis.cpp.
|
inline |
Definition at line 450 of file LongestPathAnalysis.cpp.
|
inline |
Definition at line 486 of file LongestPathAnalysis.cpp.
|
inline |
Definition at line 485 of file LongestPathAnalysis.cpp.
|
inline |
Definition at line 484 of file LongestPathAnalysis.cpp.
const LocalVisitor * Context::getLocalVisitor | ( | StringAttr | name | ) | const |
Definition at line 1326 of file LongestPathAnalysis.cpp.
References getLocalVisitorMutable().
Referenced by synth.LongestPathAnalysis::Impl::collectInputToInternalPaths(), and synth.LongestPathAnalysis::Impl::collectInternalToOutputPaths().
LocalVisitor * Context::getLocalVisitorMutable | ( | StringAttr | name | ) | const |
Definition at line 1330 of file LongestPathAnalysis.cpp.
References isRunningParallel(), localVisitors, and LocalVisitor::waitUntilDone().
Referenced by synth.LongestPathAnalysis::Impl::collectClosedPaths(), synth.LongestPathAnalysis::Impl::computeGlobalPaths(), synth.LongestPathAnalysis::Impl::computeLocalPaths(), and getLocalVisitor().
|
inline |
Definition at line 488 of file LongestPathAnalysis.cpp.
Referenced by synth.LongestPathAnalysis::Impl::initializeAndRun().
|
inline |
Definition at line 487 of file LongestPathAnalysis.cpp.
|
inlineprivate |
Definition at line 491 of file LongestPathAnalysis.cpp.
Referenced by getLocalVisitorMutable().
|
inline |
Definition at line 462 of file LongestPathAnalysis.cpp.
|
inline |
Definition at line 453 of file LongestPathAnalysis.cpp.
circt::igraph::InstanceGraph* Context::instanceGraph = nullptr |
Definition at line 482 of file LongestPathAnalysis.cpp.
Referenced by synth.LongestPathAnalysis::Impl::collectClosedPaths(), synth.LongestPathAnalysis::Impl::computeGlobalPaths(), and synth.LongestPathAnalysis::Impl::initializeAndRun().
llvm::MapVector<StringAttr, std::unique_ptr<LocalVisitor> > Context::localVisitors |
Definition at line 479 of file LongestPathAnalysis.cpp.
Referenced by synth.LongestPathAnalysis::Impl::computeLocalPaths(), getLocalVisitorMutable(), synth.LongestPathAnalysis::Impl::initializeAndRun(), synth.LongestPathAnalysis::Impl::initializeAndRun(), and synth.LongestPathAnalysis::Impl::isAnalysisAvailable().
|
private |
Definition at line 492 of file LongestPathAnalysis.cpp.
|
private |
Definition at line 494 of file LongestPathAnalysis.cpp.
|
private |
Definition at line 493 of file LongestPathAnalysis.cpp.