首页 | 本学科首页   官方微博 | 高级检索  
     

一种增量式数据流分析方法
引用本文:连瑞琦,张兆庆,乔如良.一种增量式数据流分析方法[J].计算机研究与发展,2002,39(2):136-141.
作者姓名:连瑞琦  张兆庆  乔如良
作者单位:中国科学院计算技术研究所系统结构室,北京,100080
基金项目:国家自然科学基金项目资助 (6993 3 0 2 0 )
摘    要:数据流分析是编译器中重要部分,而增量式分析在程序开发环境和过程间优化编译器中有着相关实用的价值,当程序发生变化时,它可以增量式地维护数据流信息,而不致因程序的任何小改动都重新进行数据流分析,给出了一种增量式的消去数据流算法,它基于路径简化算法,具有和路径简化算法同样的复杂度,同样的通用性(适用于不可归约流图和流函数不完备的情况),而且能方便地在程序发生变化时维护现有的数据流信息。

关 键 词:数据流分析  消去算法  增量式算法  编译器  编译程序

AN INCREMENTAL METHOD OF DATA-FLOW ANALYSIS
LIAN Rui Qi,ZHANG Zhao Qing,and QIAO Ru Liang.AN INCREMENTAL METHOD OF DATA-FLOW ANALYSIS[J].Journal of Computer Research and Development,2002,39(2):136-141.
Authors:LIAN Rui Qi  ZHANG Zhao Qing  and QIAO Ru Liang
Abstract:Data flow analysis is an important part in a compiler and incremental analysis is very useful in the compilers with interprocedure analysis and optimization or in the programming developing environment. When a program is modified a little or is optimized, incremental analysis can maintain the data flow information, which can avoid recomputing the data flow information of the whole procedure because of a little change. Here, an incremental elimination algorithm of data flow analysis is given. The algorithm is based on a non incremental algorithm-Tarjan's fast path algorithm. It has fairly good complexity and universality (it can be used in irreducible control flow graph and incomplete flow function set). What's more, it can maintain data flow information fast and conveniently when a change happens.
Keywords:data  flow analysis  elimination algorithm  incremental analysis
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号