arXivDaily arXiv每日学术速递 周一至周五更新
arXiv cs/0604043cs.DCcs.PL
收藏

基于区域的ILP结构优化器中的需求驱动内联

Demand-driven Inlining in a Region-based Optimizer for ILP Architectures

Thomas P. Way, Lori L. Pollock

摘要:

基于区域的编译使用分析信息和过程内联将程序重新划分为更期望的编译单元,以启用区域形成分析。在区域形成过程中,启发式算法在确定什么时候对内联程序最有利方面起着关键作用。使用基于区域的方法的ILP优化编译器重构程序以更好地反映动态行为并增加过程间优化和调度机会。本文提出了一种过程间编译技术,该技术按需执行过程内联,而不是作为单独的阶段,以提高基于区域的优化器控制代码增长、编译时间和内存使用的能力,同时提高性能。过程间区域形成算法利用需求驱动的、知识指导的方法来内联,将输入程序重构为过程间区域。实验结果表明,该算法和几个内联算法后,一些传统的和新的编译特性在一个基于区域的ILP编译器和模拟器的影响。

英文摘要:

Region-based compilation repartitions a program into more desirable compilation units using profiling information and procedure inlining to enable region formation analysis. Heuristics play a key role in determining when it is most beneficial to inline procedures during region formation. An ILP optimizing compiler using a region-based approach restructures a program to better reflect dynamic behavior and increase interprocedural optimization and scheduling opportunities. This paper presents an interprocedural compilation technique which performs procedure inlining on-demand, rather than as a separate phase, to improve the ability of a region-based optimizer to control code growth, compilation time and memory usage while improving performance. The interprocedural region formation algorithm utilizes a demand-driven, heuristics-guided approach to inlining, restructuring an input program into interprocedural regions. Experimental results are presented to demonstrate the impact of the algorithm and several inlining heuristics upon a number of traditional and novel compilation characteristics within a region-based ILP compiler and simulator.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑