swMATH ID: 9693
Software Authors: Smith, Frederick; Grossman, Dan; Morrisett, Greg; Hornof, Luke; Jim, Trevor
Description: Compiling for template-based run-time code generation. Cyclone is a type-safe programming language that provides explicit run-time code generation. The Cyclone compiler uses a template-based strategy for run-time code generation in which pre-compiled code fragments are stitched together at run time. This strategy keeps the cost of code generation low, but it requires that optimizations, such as register allocation and code motion, are applied to templates at compile time. This paper describes a principled approach to implementing such optimizations. In particular, we generalize standard flowgraph intermediate representations to support templates, define a mapping from (a subset of) Cyclone to this representation, and describe a dataflow-analysis framework that supports standard optimizations across template boundaries.
Homepage: http://www.eecs.harvard.edu/~greg/cyclone/old_cyclone.html
Keywords: Cyclone
Related Software: CCured; Haskell; Featherweight Java; PIPER; MJ; Spec#; ML; Valgrind; Hume; Cedalion; JastAdd; Feldspar; mbeddr; TALx86; Welterweight Java; JCobox; ABS; Multilisp; Erlang; JoCaml
Cited in: 27 Publications

Citations by Year