24 , eta_exp_(eta_exp) {}
29 bool should_expand(
Lam* lam);
Performs η-expansion: f -> λx.f x, if f is a Lam with more than one user and does not appear in calle...
An optimizer that combines several optimizations in an optimal way.
Inherit from this class using CRTP, if your Pass does not need state and a fixed-point iteration.
Helper class to retrieve Infer::arg if present.
Perform Scalarization (= Argument simplification).
Ref rewrite(Ref) override
Scalarize(PassMan &man, EtaExp *eta_exp)