CIRCT 22.0.0git
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
Context Class Reference

This class provides a thread-safe interface to access the analysis results. More...

Collaboration diagram for Context:
Collaboration graph
[legend]

Public Member Functions

 Context (igraph::InstanceGraph *instanceGraph, const LongestPathAnalysisOptions &option)
 
void notifyStart (StringAttr name)
 
void notifyEnd (StringAttr name)
 
const LocalVisitorgetLocalVisitor (StringAttr name) const
 
LocalVisitorgetLocalVisitorMutable (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::InstanceGraphinstanceGraph = nullptr
 

Private Member Functions

bool isRunningParallel () const
 

Private Attributes

llvm::sys::SmartMutex< true > mutex
 
llvm::SetVector< StringAttr > running
 
LongestPathAnalysisOptions option
 

Detailed Description

This class provides a thread-safe interface to access the analysis results.

Definition at line 448 of file LongestPathAnalysis.cpp.

Constructor & Destructor Documentation

◆ Context()

Context::Context ( igraph::InstanceGraph instanceGraph,
const LongestPathAnalysisOptions &  option 
)
inline

Definition at line 450 of file LongestPathAnalysis.cpp.

Member Function Documentation

◆ doKeepOnlyMaxDelayPaths()

bool Context::doKeepOnlyMaxDelayPaths ( ) const
inline

Definition at line 486 of file LongestPathAnalysis.cpp.

◆ doLazyComputation()

bool Context::doLazyComputation ( ) const
inline

Definition at line 485 of file LongestPathAnalysis.cpp.

◆ doTraceDebugPoints()

bool Context::doTraceDebugPoints ( ) const
inline

Definition at line 484 of file LongestPathAnalysis.cpp.

◆ getLocalVisitor()

const LocalVisitor * Context::getLocalVisitor ( StringAttr  name) const

◆ getLocalVisitorMutable()

LocalVisitor * Context::getLocalVisitorMutable ( StringAttr  name) const

◆ getTopModuleName()

StringAttr Context::getTopModuleName ( ) const
inline

◆ isLocalScope()

bool Context::isLocalScope ( ) const
inline

Definition at line 487 of file LongestPathAnalysis.cpp.

◆ isRunningParallel()

bool Context::isRunningParallel ( ) const
inlineprivate

Definition at line 491 of file LongestPathAnalysis.cpp.

Referenced by getLocalVisitorMutable().

◆ notifyEnd()

void Context::notifyEnd ( StringAttr  name)
inline

Definition at line 462 of file LongestPathAnalysis.cpp.

◆ notifyStart()

void Context::notifyStart ( StringAttr  name)
inline

Definition at line 453 of file LongestPathAnalysis.cpp.

Member Data Documentation

◆ instanceGraph

circt::igraph::InstanceGraph* Context::instanceGraph = nullptr

◆ localVisitors

llvm::MapVector<StringAttr, std::unique_ptr<LocalVisitor> > Context::localVisitors

◆ mutex

llvm::sys::SmartMutex<true> Context::mutex
private

Definition at line 492 of file LongestPathAnalysis.cpp.

◆ option

LongestPathAnalysisOptions Context::option
private

Definition at line 494 of file LongestPathAnalysis.cpp.

◆ running

llvm::SetVector<StringAttr> Context::running
private

Definition at line 493 of file LongestPathAnalysis.cpp.


The documentation for this class was generated from the following file: