2003
DOI: 10.1017/s0956796802004513
|View full text |Cite
|
Sign up to set email alerts
|

CPS transformation of flow information

Abstract: We consider the question of how a continuation-passing-style (CPS) transformation changes the ow analysis of a program. We present an algorithm that takes the least solution to the ow constraints of a program and constructs in linear time the least solution to the ow constraints for the CPS-transformed program.A *` e] ] : (t * ! o) ! o, where o is a type of answers,

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
2
1

Citation Types

1
33
0

Year Published

2003
2003
2012
2012

Publication Types

Select...
6
1

Relationship

1
6

Authors

Journals

citations
Cited by 17 publications
(34 citation statements)
references
References 27 publications
1
33
0
Order By: Relevance
“…They attributed increased precision to the duplication of continuations and decreased precision to the confusion of return points. It was later pointed out [43,122], however, that Sabry and Felleisen were comparing a flow-sensitive analysis to a flow-insensitive analysis.…”
Section: Prior Term Transformationmentioning
confidence: 99%
See 1 more Smart Citation
“…They attributed increased precision to the duplication of continuations and decreased precision to the confusion of return points. It was later pointed out [43,122], however, that Sabry and Felleisen were comparing a flow-sensitive analysis to a flow-insensitive analysis.…”
Section: Prior Term Transformationmentioning
confidence: 99%
“…They also proved that CPS transformation can improve and does not degrade the precision of binding-time analysis. Independently, Palsberg and Wand [122] proved that a non-duplicating Plotkin-style CPS transformation does not change the precision of a standard constraint-based 0-CFA, a result that Damian and Danvy [42] extended to a 'one-pass' CPS transformation that performs administrative reductions. In conclusion, a duplicating CPS transformation may improve the precision of a 0-CFA and a non-duplicating CPS transformation does not affect its precision.…”
Section: Prior Term Transformationmentioning
confidence: 99%
“…A long-standing question in flow analysis is to characterize the impact of CPS transformation on the precision of program analysis [23,39,40]. The study of this question originated in binding-time analysis, for which the transformation is known to have a positive effect [41,40].…”
Section: Related Workmentioning
confidence: 99%
“…Damian and Danvy [40] related the analysis of a program and its CPS counterpart for a standard flowlogic CFA (as well as for two binding-time analyses), and Palsberg and Wand [39] related the analysis of a program and its CPS counterpart for a standard conditional constraint CFA. Hence the latter two fall into the second category.…”
Section: Related Workmentioning
confidence: 99%
“…Meyer and Wand [11] have shown that typability is preserved by CPS transformation, and Damian and Danvy [4] and Palsberg and Wand [25] have shown that a set-based flow analysis is preserved by CPS transformation. Examples of end-to-end type-preserving compilers with proofs include the TIL compiler of Tarditi et al [33] and the compiler from System F to typed assembly language of Morrisett, Walker, Crary, and Glew [13].…”
Section: Correctnessmentioning
confidence: 99%