首页> 外文会议>IEEE International Conference on Software Engineering and Formal Methods >A PVS Based Framework for Validating Compiler Optimizations
【24h】

A PVS Based Framework for Validating Compiler Optimizations

机译:基于PVS的框架,用于验证编译器优化

获取原文

摘要

An optimization can be specified as sequential compositions of predefined transformation primitives. For each primitive, we can define soundness conditions which guarantee that the transformation is semantics preserving. An optimization of a program preserves semantics, if all applications of the primitives in the optimization satisfy their respective soundness conditions on the versions of the input program on which they are applied. This scheme does not directly check semantic equivalence of the input and the optimized programs and is therefore amenable to automation. Automating this scheme however requires a trusted framework for simulating transformation primitives and checking their soundness conditions. In this paper, we present the design of such a framework based on PVS. We have used it for specifying and validating several optimizations viz. common subexpression elimination, optimal code placement, lazy code motion, loop invariant code motion, full and partial dead code elimination, etc.
机译:可以将优化指定为预定义转化基元的顺序组成。对于每个原始,我们可以定义保证转换是语义保存的声音条件。如果优化中的基元在优化中的所有应用满足它们的应用程序版本上的所有声音条件,则对语义进行保留语义的优化。该方案没有直接检查输入和优化程序的语义等价,因此可以自动化。然而,自动化此方案需要可值得信赖的框架来模拟转换基元并检查其声音条件。在本文中,我们介绍了基于PVS的这种框架的设计。我们使用它来指定和验证几个优化viz。常见的子表达消除,最佳代码放置,惰性代码运动,循环不变的代码运动,完整和部分死代码消除等。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号