Lazy code motion

Author:

Knoop Jens,Rüthing Oliver,Steffen Bernhard

Abstract

We present a bit-vector algorithm for the optimal and economical placement of computations within flow graphs, which is as efficient as standard uni-directional analyses. The point of our algorithm is the decomposition of the bi-directional structure of the known placement algorithms into a sequence of a backward and a forward analysis, which directly implies the efficiency result. Moreover, the new compositional structure opens the algorithm for modification: two further uni-directional analysis components exclude any unnecessary code motion. This laziness of our algorithm minimizes the register pressure, which has drastic effects on the run-time behaviour of the optimized programs in practice, where an economical use of registers is essential.

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Graphics and Computer-Aided Design,Software

Reference30 articles.

1. Node listings for reducible flow graphs

2. Characterization of program loops in code optimization;Dhamdhere D.M;Comp. Lang.,1983

3. Dhamdhere D.M. A fast algorithm for code movement optimization. S~GPLAN Not. 23 10 (xgss) 172- is0 10.1145/51607.51621 Dhamdhere D.M. A fast algorithm for code movement optimization. S~GPLAN Not. 23 10 (xgss) 172- is0 10.1145/51607.51621

4. Dhamdhere D.M. Practical adaptation of the global optimization algorithm of Morel and Renvoise. A CM Trans. Program. Lang. Syst. ~3 2 (~99~) 29~- 294. 10.1145/103135.214520 Dhamdhere D.M. Practical adaptation of the global optimization algorithm of Morel and Renvoise. A CM Trans. Program. Lang. Syst. ~3 2 (~99~) 29~- 294. 10.1145/103135.214520

Cited by 86 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Graph IRs for Impure Higher-Order Languages: Making Aggressive Optimizations Affordable with Precise Effect Dependencies;Proceedings of the ACM on Programming Languages;2023-10-16

2. Formally Verifying Optimizations with Block Simulations;Proceedings of the ACM on Programming Languages;2023-10-16

3. Lexical-based partial redundancy elimination: An optimal algorithm with improved efficiency;Journal of Computer Languages;2023-06

4. Bibliography;Engineering a Compiler;2023

5. Scalar Optimization;Engineering a Compiler;2023

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3