ml_switcheroo.compiler.frontends.rdna.lifter ============================================ .. py:module:: ml_switcheroo.compiler.frontends.rdna.lifter .. autoapi-nested-parse:: RDNA Lifter (Frontend). This module provides the logic to "lift" low-level RDNA AST nodes back into a high-level `LogicalGraph`. It relies on semantic comment markers (e.g. `; BEGIN`) emitted during compilation to reconstruct the control flow and layer definitions. Classes ------- .. autoapisummary:: ml_switcheroo.compiler.frontends.rdna.lifter.RdnaLifter Module Contents --------------- .. py:class:: RdnaLifter Reconstructs a LogicalGraph from a sequence of RDNA AST nodes. .. py:method:: lift(nodes: List[ml_switcheroo.compiler.frontends.rdna.nodes.RdnaNode]) -> ml_switcheroo.compiler.ir.LogicalGraph Parses a list of RDNA nodes to build a LogicalGraph.