Lift arith to linalg
lift_arith_to_linalg
¶
LiftAddfPass
¶
Bases: RewritePattern
Source code in xdsl/transforms/lift_arith_to_linalg.py
match_and_rewrite(op: arith.AddfOp, rewriter: PatternRewriter)
¶
Source code in xdsl/transforms/lift_arith_to_linalg.py
LiftSubfPass
¶
Bases: RewritePattern
Source code in xdsl/transforms/lift_arith_to_linalg.py
match_and_rewrite(op: arith.SubfOp, rewriter: PatternRewriter)
¶
Source code in xdsl/transforms/lift_arith_to_linalg.py
LiftMulfPass
¶
Bases: RewritePattern
Source code in xdsl/transforms/lift_arith_to_linalg.py
match_and_rewrite(op: arith.MulfOp, rewriter: PatternRewriter)
¶
Source code in xdsl/transforms/lift_arith_to_linalg.py
LiftArithToLinalg
dataclass
¶
Bases: ModulePass
Pass that lifts arith ops to linalg in order to make use of destination-passing style and bufferization.