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

一种使用控制块消除流图中回边的算法
引用本文:李兰英,张滇,崔林海,胡磊.一种使用控制块消除流图中回边的算法[J].计算机工程,2008,34(20):74-77.
作者姓名:李兰英  张滇  崔林海  胡磊
作者单位:哈尔滨理工大学计算机科学与技术学院,哈尔滨,150080
摘    要:引入控制块分解流图来构建控制流树,确定流图中的回边及循环路径中包含的节点,通过消去原流图中的回边,构建无环流图,简化流图的数据流分析。控制块将流图的控制关系转移到新构建的控制流树的内部控制节点上。使用控制块分解算法将流图转换到控制流树过程中,所创建节点数目不超过n,使用控制流树求解路径表达式和确定回边的时间复杂度不超过O(nlogn)。

关 键 词:编译器优化  流图  全局数据流分析  控制流树  控制块
修稿时间: 

Algorithm for Eliminating Back Edge of Flow Graph with Control Block
LI Lan-ying,ZHANG Dian,CUI Lin-hai,HU Lei.Algorithm for Eliminating Back Edge of Flow Graph with Control Block[J].Computer Engineering,2008,34(20):74-77.
Authors:LI Lan-ying  ZHANG Dian  CUI Lin-hai  HU Lei
Affiliation:(College of Computer Science and Technology, Harbin University of Science and Technology, Harbin 150080)
Abstract:This paper introduces an algorithm for constructing control flow tree by using control block decomposing flow graph, and determines the back edges of flow graph and nodes included in the loop during constructing the tree. Acyclic flow graph is constructed by eliminating the back edges to simplify global data flow analysis. Control blocks transform the control relationship of flow graph to inner nodes in control flow tree. The number of created nodes is less than n. That solving path expression and determining back edges run in O(nlogn) by using the decomposition of control block transforming flow group to control flow tree.
Keywords:compiler optimization  flow graph  global data flow analysis  control flow tree  control block
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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