21 const Def* add_mem_to_lams(
Lam*,
const Def*);
22 const Def* rewrite_type(
const Def*);
23 const Def* rewrite_pi(
const Pi*);
25 const Def* mem_for_lam(
Lam*)
const;
A dependent function type.
Transitively visits all reachable Scopes in World that do not have free variables.
A Scope represents a region of Defs that are live from the view of an entry's Var.
The World represents the whole program and manages creation of MimIR nodes (Defs).
This phase adds mems to all lambdas and continuations.
void visit(const Scope &) override
DefMap< const Def * > Def2Def