Lowerings
lowerings
¶
LowerLengthOp
¶
Bases: RewritePattern
Source code in xdsl/frontend/listlang/lowerings.py
match_and_rewrite(op: list_dialect.LengthOp, rewriter: PatternRewriter)
¶
Source code in xdsl/frontend/listlang/lowerings.py
LowerMapOp
¶
Bases: RewritePattern
Source code in xdsl/frontend/listlang/lowerings.py
match_and_rewrite(op: list_dialect.MapOp, rewriter: PatternRewriter)
¶
Source code in xdsl/frontend/listlang/lowerings.py
LowerPrintOp
¶
Bases: RewritePattern
Source code in xdsl/frontend/listlang/lowerings.py
match_and_rewrite(op: list_dialect.PrintOp, rewriter: PatternRewriter)
¶
Source code in xdsl/frontend/listlang/lowerings.py
LowerRangeOp
¶
Bases: RewritePattern
Source code in xdsl/frontend/listlang/lowerings.py
match_and_rewrite(op: list_dialect.RangeOp, rewriter: PatternRewriter)
¶
Source code in xdsl/frontend/listlang/lowerings.py
LowerListToTensor
dataclass
¶
Bases: ModulePass
Lowers list dialect to a tensor-based representation.
Source code in xdsl/frontend/listlang/lowerings.py
WrapModuleInFunc
dataclass
¶
Bases: ModulePass
Wraps the free-standing ops in a module into a func.func function.