MLton Flatten
Home  Index  Local Site Map
Flatten is an optimization pass for the SSA IntermediateLanguage, invoked from SSASimplify.

Description

This pass flattens arguments to SSA constructors, blocks, and functions.

If a tuple is explicitly available at all uses of a function (resp. block), then:

Similarly, if a tuple is explicitly available at all uses of a constructor, then:

Implementation

flatten.sig flatten.fun

Details and Notes


Last edited on 2006-11-02 17:52:58 by MatthewFluet.
Actions: AttachFile, Delete, Edit, Info, Rename Preferences