The Reuse Analyzer implmention.
AST
- Type Inference and Type Check
- Tempreture Variable Name (including ignored expressions values)
- Flattening, To L2 IR
ANF ir
- Shadow Veriable Renaming
- Borrow Check and Linearnize
- Insert Dup
LinearANF ir
- Insert Drop/Drop-Reuse
- Insert Dup-On-Bind
- Drop unrolling
- Dup/Drop reduction
- AST metainfo
- Memorize
- inet target