24 , eta_exp_(eta_exp) {}
29 bool should_expand(
Lam* lam);
30 Lam* make_scalar(
const Def* def);
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.
RWPass(PassMan &man, std::string_view name)
Scalarize(PassMan &man, EtaExp *eta_exp)
const Def * rewrite(const Def *) override