A Correspondence between Continuation Passing Style and Static Single Assignment Form

66Citations
Citations of this article
63Readers
Mendeley users who have this article in their library.

Abstract

We define syntactic transformations that convert continuation passing style (CPS) programs into static single assignment form (SSA) and vice versa. Some CPS programs cannot be converted to SSA, but these are not produced by the usual CPS transformation. The CPS—SSA transformation is especially helpful for compiling functional programs. Many optimizations that normally require flow analysis can be performed directly on functional CPS programs by viewing them as SSA programs. We also present a simple program transformation that merges CPS procedures together and by doing so greatly increases the scope of the SSA flow information. This transformation is useful for analyzing loops expressed as recursive procedures. © 1995, ACM. All rights reserved.

Cite

CITATION STYLE

APA

Kelsey, R. A. (1995). A Correspondence between Continuation Passing Style and Static Single Assignment Form. ACM SIGPLAN Notices, 30(3), 13–22. https://doi.org/10.1145/202530.202532

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free