跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 程序设计语言

arXiv:1704.05589 (cs)
[提交于 2017年4月19日]

标题:Loop Quasi-Invariant Chunk Motion by peeling with statement composition

作者:Jean-Yves Moyen, Thomas Rubiano, Thomas Seiller
查看论文《Loop Quasi-Invariant Chunk Motion by peeling with statement composition》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Several techniques for analysis and transformations are used in compilers. Among them, the peeling of loops for hoisting quasi-invariants can be used to optimize generated code, or simply ease developers' lives. In this paper, we introduce a new concept of dependency analysis borrowed from the field of Implicit Computational Complexity (ICC), allowing to work with composed statements called Chunks to detect more quasi-invariants. Based on an optimization idea given on a WHILE language, we provide a transformation method - reusing ICC concepts and techniques - to compilers. This new analysis computes an invariance degree for each statement or chunks of statements by building a new kind of dependency graph, finds the maximum or worst dependency graph for loops, and recognizes if an entire block is Quasi-Invariant or not. This block could be an inner loop, and in that case the computational complexity of the overall program can be decreased. We already implemented a proof of concept on a toy C parser 1 analysing and transforming the AST representation. In this paper, we introduce the theory around this concept and present a prototype analysis pass implemented on LLVM. In a very near future, we will implement the corresponding transformation and provide benchmarks comparisons.
评论: In Proceedings DICE-FOPARA 2017, arXiv:1704.05169
主题: 程序设计语言 (cs.PL)
引用方式: arXiv:1704.05589 [cs.PL]
  (或者 arXiv:1704.05589v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.1704.05589
期刊参考: EPTCS 248, 2017, pp. 47-59
相关 DOI: https://doi.org/10.4204/EPTCS.248.9

提交历史

来自:EPTCS
[v1] 2017年4月19日 星期三 02:20:31 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.PL
< 上一篇   |   下一篇 >
最新 | 近期 | 2017-04
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站