Set constraints for destructive array update optimization
Mitchell Wand, William Clinger · Journal of Functional Programming · 2001
Destructive array update optimization is critical for writing scientific codes in functional languages. We present set constraints for an interprocedural update optimization that runs in polynomial time. This is a multi-pass optimization, involving interprocedural flow analyses for aliasing and liveness. We characterize and prove the soundness of these analyses using small-step operational semantics. We also prove that any sound liveness analysis induces a correct program transformation.
Cited by 15 works. doi:10.1017/s0956796801003938 Open-access PDF
Authors
References
- Compilers: Principles, Techniques, and Tools
- Abstract interpretation
- A flexible approach to interprocedural data flow analysis and programs with recursive data structures
- Foundations of Actor Semantics
- A semantic model of reference counting and its abstraction (detailed summary)
- Control-flow analysis of higher-order languages of taming lambda
- Data flow analysis is model checking of abstract interpretations
- Set based program analysis
- Object-oriented type systems
- Replacing function parameters by global variables