首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >A correspondence between continuation passing style and static single assignment form
【24h】

A correspondence between continuation passing style and static single assignment form

机译:延续传递样式和静态单作业形式之间的对应

获取原文
获取原文并翻译 | 示例
           

摘要

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.
机译:我们定义了语法转换,将连续传递样式(CPS)程序转换为静态单分配形式(SSA),反之亦然。某些CPS程序无法转换为SSA,但是这些不是由通常的CPS转换产生的。 CPS→SSA转换对于编译功能程序特别有用。通过将功能CPS程序视为SSA程序,可以直接对功能CPS程序直接执行许多通常需要进行流量分析的优化。我们还提出了一个简单的程序转换,该转换将CPS程序合并在一起,从而大大增加了SSA流信息的范围。此转换对于分析表示为递归过程的循环很有用。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号