期刊文献+

一种改进的计算控制依赖的算法 被引量:1

AN IMPROVED ALGORITHM FOR COMPUTING CONTROL DEPENDENCE
下载PDF
导出
摘要 控制依赖是分析程序和程序并行化的基础。针对现有的计算控制依赖方法的不足,提出了一种改进的算法。该改进算法通过引入函数调用和返回引起的控制转移来计算函数间的控制依赖关系。最后通过实例验证了该改进算法比原算法更能准确地计算程序的控制依赖关系,比传统的内联方法更易于理解。 Control dependence is the basis of program analysis and parallelization.This paper proposes an improved algorithm for computing control dependence to solve the deficiency of existing computation method of control dependence.The improved algorithm computes inter-procedural control dependence by introducing the control transfer caused by function calls and returns.Finally,this paper validates that the improved algorithm is more accurate in computing the control dependences of programs than the original algorithm and more comprehensive than the traditional inline method through examples.
出处 《计算机应用与软件》 CSCD 2010年第11期13-15,34,共4页 Computer Applications and Software
基金 国家自然科学基金项目(60873047) 江苏省自然科学基金(BK2008154)
关键词 控制流图 后必经结点树 控制依赖 控制依赖图 Control flow graph Forward dominance tree Control dependence Control dependence graph
  • 相关文献

参考文献7

二级参考文献21

  • 1马红途,赵荣彩,张平,高翔.基于SUIF自动产生具有OpenMP编译指示的并行程序[J].计算机工程,2005,31(8):90-92. 被引量:1
  • 2Ershov A. ALPHA-An Automatic Programming System of High Efficiency[J]. Journal of ACM, 1966, 13(1): 17-24.
  • 3Allen F E, Cocke J. A Catalogue of Optimizing Transformations[M]//Rustin J. Design and Optimization of a Compiler. [S.l.]: Prentice-Hall, 1972.
  • 4Cooper K D, Hall M W, Torczon L. An Experiment with Inline Substitution[J]. Software Practice and Experience, 1991, 21(6): 581-601.
  • 5Hall M W. Managing Interprocedural Optimization[D]. Houston, Texas, USA: Rice University, 1991.
  • 6J Ferrante,K J Ottenstein,J D Warren.The program dependence graph and its use in optimization[J].ACM Transactions on Programming Languages and Systems, 1987;9(3) :319-349.
  • 7S Horwitz,T Reps,D Binldey.Interprocedural slicing using dependence graphs[J].ACM Transactions on Programming Languages and Systems, 1990; 12( 1 ) :26-60.
  • 8Anand Krishnaswamy.Program Slicing:An Application of Object--ori- ented Program Dependency Graphs[R].Technical Report TR94-108, Department of Computer Science,Clemson University, 1994.
  • 9Thomas Lengauer,Robert Endre Tarjan.A fast algorithm for finding dominators in a flowgraph[J].ACM Transactions on Programming Languages and Systems,1979;1(1) :121-141.
  • 10M D Smith, D J Robson. A Framework for Testing Object-Oriented Programs[J]. Journal of Object-Oriented Programming, 1992, 5(3):45-53.

共引文献8

同被引文献11

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部