Transform
transform
TransformFunctions
Bases: InterpreterFunctions
Source code in xdsl/interpreters/transform.py
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | |
ctx: Context = ctx
instance-attribute
passes: dict[str, Callable[[], type[ModulePass]]] = available_passes
instance-attribute
__init__(ctx: Context, available_passes: dict[str, Callable[[], type[ModulePass]]])
Source code in xdsl/interpreters/transform.py
24 25 26 27 28 | |
run_named_sequence_op(interpreter: Interpreter, op: transform.NamedSequenceOp, args: PythonValues) -> PythonValues
Source code in xdsl/interpreters/transform.py
30 31 32 33 34 35 36 37 | |
run_apply_registered_pass_op(interpreter: Interpreter, op: transform.ApplyRegisteredPassOp, args: PythonValues) -> PythonValues
Source code in xdsl/interpreters/transform.py
39 40 41 42 43 44 45 46 47 48 49 | |
run_yield_op(interpreter: Interpreter, op: transform.YieldOp, args: PythonValues) -> tuple[TerminatorValue, PythonValues]
Source code in xdsl/interpreters/transform.py
51 52 53 54 55 | |