【24h】

WAM Local Analysis

机译:WAM本地分析

获取原文

摘要

The abstract interpretation framework has been used mainly in the global analysis of programs. Most often also, this interpretation is applied to the source Prolog program. In this paper we present an abstract interpretation of more local nature, and applied to the intermediate code (WAM). The purpose of obtaining a more efficient specialized version of the program remains the same as in global analysis approaches. Our specialization is multiple, meaning that we generate a different version for each entry pattern detected by analysis. This poly-variant unfolding of predicates allows the local (predicate level) analysis to propagate inter-procedurally relevant information. Besides time and complexity reduction of local versus global analysis, our approach is suited for goal-independent specialization, and for the partial selection of predicates to specialize. The evaluation of this more general specialization of programs in a full compiler shows that it is an alternative to global and goal-dependent methods.
机译:抽象解释框架已主要用于程序的全局分析中。通常,这种解释也适用于Prolog源程序。在本文中,我们提出了对更多局部性的抽象解释,并应用于中间代码(WAM)。获得更有效的程序专业版本的目的与全局分析方法相同。我们的专长是多重的,这意味着我们为通过分析检测到的每种进入模式生成不同的版本。谓词的这种多变量展开使局部(谓语级别)分析可以传播过程间相关信息。除了减少本地分析和全局分析的时间和复杂性之外,我们的方法还适合于目标无关的专业化,以及部分选择要进行专业化的谓词。对完整编译器中程序的更一般专业化的评估表明,它是全局方法和目标相关方法的替代方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号