CIRCT 21.0.0git
|
This class provides a thread-safe interface to access the analysis results. More...
Public Member Functions | |
Context (igraph::InstanceGraph *instanceGraph, const LongestPathAnalysisOption &option) | |
void | notifyStart (StringAttr name) |
void | notifyEnd (StringAttr name) |
const LocalVisitor * | getLocalVisitor (StringAttr name) const |
const LocalVisitor * | getAndWaitLocalVisitor (StringAttr name) const |
bool | doTraceDebugPoints () const |
Public Attributes | |
llvm::MapVector< StringAttr, std::unique_ptr< LocalVisitor > > | localVisitors |
circt::igraph::InstanceGraph * | instanceGraph = nullptr |
Private Attributes | |
llvm::sys::SmartMutex< true > | mutex |
llvm::SetVector< StringAttr > | running |
const LongestPathAnalysisOption & | option |
This class provides a thread-safe interface to access the analysis results.
Definition at line 372 of file LongestPathAnalysis.cpp.
|
inline |
Definition at line 374 of file LongestPathAnalysis.cpp.
|
inline |
Definition at line 407 of file LongestPathAnalysis.cpp.
References option.
const LocalVisitor * Context::getAndWaitLocalVisitor | ( | StringAttr | name | ) | const |
Definition at line 1102 of file LongestPathAnalysis.cpp.
References getLocalVisitor().
const LocalVisitor * Context::getLocalVisitor | ( | StringAttr | name | ) | const |
Definition at line 1095 of file LongestPathAnalysis.cpp.
References localVisitors.
Referenced by getAndWaitLocalVisitor(), LongestPathAnalysis::Impl::getClosedPaths(), LongestPathAnalysis::Impl::getOpenPathsFromInputPortsToInternal(), LongestPathAnalysis::Impl::getOpenPathsFromInternalToOutputPorts(), and LongestPathAnalysis::Impl::getResultsImpl().
|
inline |
Definition at line 386 of file LongestPathAnalysis.cpp.
|
inline |
Definition at line 377 of file LongestPathAnalysis.cpp.
circt::igraph::InstanceGraph* Context::instanceGraph = nullptr |
Definition at line 405 of file LongestPathAnalysis.cpp.
Referenced by LongestPathAnalysis::Impl::getClosedPaths(), LongestPathAnalysis::Impl::getResultsImpl(), and LongestPathAnalysis::Impl::initializeAndRun().
llvm::MapVector<StringAttr, std::unique_ptr<LocalVisitor> > Context::localVisitors |
Definition at line 403 of file LongestPathAnalysis.cpp.
Referenced by getLocalVisitor(), LongestPathAnalysis::Impl::initializeAndRun(), LongestPathAnalysis::Impl::initializeAndRun(), and LongestPathAnalysis::Impl::isAnalysisAvailable().
|
private |
Definition at line 410 of file LongestPathAnalysis.cpp.
Referenced by notifyEnd(), and notifyStart().
|
private |
Definition at line 412 of file LongestPathAnalysis.cpp.
Referenced by doTraceDebugPoints().
|
private |
Definition at line 411 of file LongestPathAnalysis.cpp.
Referenced by notifyEnd(), and notifyStart().