中国科技核心期刊

中文核心期刊

CSCD来源期刊

空间控制技术与应用 ›› 2015, Vol. 41 ›› Issue (5): 43-.doi: 10.3969/j.issn.1674-1579.2015.03.009

• 技术交流 • 上一篇    下一篇

基于多面体模型的数据依赖分析方法

  

  • 出版日期:2015-10-24 发布日期:2015-12-01

DataDependence Analysis Method Based on Polyhedral Model

  • Online:2015-10-24 Published:2015-12-01

摘要: 设计一种基于多面体模型的静态数据依赖分析方法,对程序中的循环体进行分析,将生存周期思想引入到数据的依赖分析中.数据的依赖关系中只有流依赖是无法消除的固有依赖,必须保持变换前的执行顺序,而输出依赖和反依赖可以通过标量扩展及向前替换等方法消去.对传统数据依赖分析进行改进,通过分析内存单元的生存周期,摒除不必要的伪依赖,从而可以对更多的循环体进行变换.通过实验表明了该方法的可行性和有效性.

关键词: 依赖分析, 多面体模型, 生存周期, 循环变换

Abstract: A static datadependence analysis method for loops based on polyhedral model is designed. The concept of live range is introduced into analysis. Only flow dependences must keep consistent with the order that they appears in the original execution of the program. Output dependences and antidependences can be eliminated by scalar expansion or forward substitution. This analysis method reforms the traditional analysis by introducing live range and eliminating unnecessary false dependence, via which more loops can be transformed. The validity and efficiency of the presented method are demonstrated by experiment.

Key words: dependence analysis, polyhedral model, live range, loop transformation

中图分类号: 

  •