MimIR 0.1
MimIR is my Intermediate Representation
|
Transitively compute free Def's on demand. More...
#include <mim/plug/clos/phase/clos_conv.h>
Public Member Functions | |
FreeDefAna (World &world) | |
DefSet & | run (Lam *lam) |
FreeDefAna::run will compute free defs (FD) that appear in lams body. | |
Transitively compute free Def's on demand.
This is used internally by ClosConv.
Definition at line 17 of file clos_conv.h.
|
inline |
Definition at line 19 of file clos_conv.h.
FreeDefAna::run will compute free defs (FD) that appear in lams
body.
Mutable Defs are only considered free if they are annotated with Clos::freeBB or Clos::fstclassBB. Otherwise, we add a mut's free defs in order to build a closure for it. Immutables containing mutables are broken up if necessary.
Definition at line 92 of file clos_conv.cpp.
References run().
Referenced by run().