CIRCT 24.0.0git
Loading...
Searching...
No Matches
om.Evaluator Class Reference
Inheritance diagram for om.Evaluator:
Collaboration diagram for om.Evaluator:

Public Member Functions

None __init__ (self, Module mod)
Object instantiate (self, str cls, *Any args)

Protected Member Functions

bool _handle_diagnostic (self, Diagnostic diagnostic)

Protected Attributes

 _logger = logging.getLogger("Evaluator")
 _handle_diagnostic

Detailed Description

Definition at line 114 of file om.py.

Constructor & Destructor Documentation

◆ __init__()

None om.Evaluator.__init__ ( self,
Module mod )
Instantiate an Evaluator with a Module.

Definition at line 116 of file om.py.

References __init__().

Referenced by __init__(), synth.LongestPathCollection.drop_non_critical_paths(), and synth.LongestPathCollection.merge().

Member Function Documentation

◆ _handle_diagnostic()

bool om.Evaluator._handle_diagnostic ( self,
Diagnostic diagnostic )
protected
Handle MLIR Diagnostics by logging them.

Definition at line 153 of file om.py.

References _logger.

◆ instantiate()

Member Data Documentation

◆ _handle_diagnostic

om.Evaluator._handle_diagnostic
protected

Definition at line 132 of file om.py.

◆ _logger

om.Evaluator._logger = logging.getLogger("Evaluator")
protected

Definition at line 129 of file om.py.

Referenced by _handle_diagnostic().


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