Partial Evaluation for Constraint-Based Program Analyses
DOI:
https://doi.org/10.7146/brics.v6i45.20115Resumé
We report on a case study in the application of partial evaluation, initiatedby the desire to speed up a constraint-based algorithm for control-flow
analysis. We designed and implemented a dedicated partial evaluator,
able to specialize the analysis wrt. a given constraint graph and thus
remove the interpretive overhead, and measured it with Feeley's Scheme
benchmarks. Even though the gain turned out to be rather limited, our
investigation yielded valuable feed back in that it provided a better understanding
of the analysis, leading us to (re)invent an incremental version.
We believe this phenomenon to be a quite frequent spinoff from using
partial evaluation, since the removal of interpretive overhead makes the flow
of control more explicit and hence pinpoints sources of inefficiency.
Finally, we observed that partial evaluation in our case yields such regular,
low-level specialized programs that it begs for run-time code generation.
Downloads
Publiceret
1999-12-15
Citation/Eksport
Amtoft, T. (1999). Partial Evaluation for Constraint-Based Program Analyses. BRICS Report Series, 6(45). https://doi.org/10.7146/brics.v6i45.20115
Nummer
Sektion
Artikler
Licens
Authors who publish with this journal agree to the following terms:- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).