首页> 外文会议>Association for Computing Machinery SIGPLAN Symposium on Partial Evaluation and Semantics-Based Program Manipulation >A Practical and Precise Inference and Specializer for Array Bound Checks Elimination
【24h】

A Practical and Precise Inference and Specializer for Array Bound Checks Elimination

机译:阵列绑定检查消除的实用和精确推理和专业化

获取原文

摘要

Arrays are intensively used in many software programs, including those in the popular graphics and game programming domains. Although the problem of eliminating redundant array bound checks has been studied for a long time, there are few works that attempt to be both aggressively precise and practical. We propose an inference mechanism that achieves both aims by combining a forward relational analysis with a backward precondition derivation. Our inference algorithm works for a core imperative language with assignments, and analyses each method once through a summary-based approach. Our inference is precise as it is both path and context sensitive. Through a novel technique that can strengthen preconditions, we can selectively reduce the sizes of formulae to support a practical inference algorithm. Moreover, we subject each inferred program to a flexivariant specialization that can achieve good tradeoff between elimination of array checks and code explosion concerns. We have proven the soundness of our approach and have also implemented a prototype inference and specialization system. Initial experiments suggest that such a desired system is viable.
机译:阵列广泛地用于许多软件程序,包括流行图形和游戏编程域中的软件程序。虽然已经长时间研究了消除冗余阵列绑定检查的问题,但很少有少数作品试图积极精确和实用。我们提出了一种推断机制,通过将前向关系分析与向后前提推导相结合,实现了两个目标。我们的推理算法适用于带有分配的核心命令语言,并通过基于摘要的方法分析一次。我们的推断是精确的,因为它既是路径和上下文敏感。通过一种能够加强前提的新技术,我们可以选择性地降低公式的大小以支持实际推理算法。此外,我们将每个推断的程序都进行,以实现能够在消除阵列检查和代码爆炸问题之间实现良好权衡的灵活性专业化。我们已经证明了我们的方法的健全性,并且还实现了原型推断和专业系统。初步实验表明这种所需的系统是可行的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号