19 void enter()
override;
24 std::vector<Lam*> lam_stack;
25 Lam* curr_lam_ =
nullptr;
27 void rewrite_lam(
Lam* lam);
28 const Def* rewrite_body(
const Def*);
29 const Def* rewrite_body_(
const Def*);
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.
This is the second part of ds2cps.
void enter() override
Invoked just before Pass::rewriteing PassMan::curr_mut's body.
DefMap< const Def * > Def2Def
GIDSet< const Def * > DefSet