CIRCT
18.0.0git
|
Classes | |
class | ConnectionError |
class | UnconnectedSignalError |
class | BackedgeBuilder |
class | OpOperand |
class | NamedValueOpView |
Functions | |
ir.Value | get_value (obj) |
def | connect (destination, source) |
ir.Attribute | var_to_attribute (obj, bool none_on_fail=False) |
ir.Type | type_to_pytype (t) |
def | attribute_to_var (attr) |
def | get_self_or_inner (mlir_type) |
Variables | |
_current_backedge_builder = ContextVar("current_bb") | |
def Python.support.attribute_to_var | ( | attr | ) |
Definition at line 133 of file support.py.
Referenced by om.wrap_mlir_object().
def Python.support.connect | ( | destination, | |
source | |||
) |
A convenient way to use BackedgeBuilder.
Definition at line 37 of file support.py.
References Python.support.get_value().
Referenced by InputProbeForwardSlicer.add(), checkConnectConditionality(), checkConnectFlow(), dropWrite(), erasePort(), circt::firrtl.getDriverFromConnect(), circt::firrtl.getModuleScopedDriver(), circt::firrtl.getSingleConnectUserOf(), getSummary(), lowerInstanceResults(), lowerUsersToTemporaryWire(), main(), DiscoverLoops.processModule(), LowerGroupsPass.runOnModule(), LowerXMRPass.runOnOperation(), spillWiresForInstanceInputs(), and circt::firrtl.walkDrivers().
def Python.support.get_self_or_inner | ( | mlir_type | ) |
Definition at line 209 of file support.py.
References Python.support.type_to_pytype().
ir.Value Python.support.get_value | ( | obj | ) |
Resolve a Value from a few supported types.
Definition at line 25 of file support.py.
Referenced by Python.support.NamedValueOpView.__init__(), hwarith.BinaryOp(), Python.support.connect(), and comb.VariadicOp().
ir.Type Python.support.type_to_pytype | ( | t | ) |
Definition at line 79 of file support.py.
Referenced by Python.support.get_self_or_inner().
ir.Attribute Python.support.var_to_attribute | ( | obj, | |
bool | none_on_fail = False |
||
) |
Create an MLIR attribute from a Python object for a few common cases.
Definition at line 55 of file support.py.
Referenced by om.om_var_to_attribute().
|
private |
Definition at line 11 of file support.py.