检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:何振峰[1]
机构地区:[1]福州大学数学与计算机学院
出 处:《小型微型计算机系统》2009年第9期1787-1790,共4页Journal of Chinese Computer Systems
基 金:国家自然科学基金项目(F020103)资助;福建省青年创新基金项目(2006F3075)资助
摘 要:基于Tang提出的全控制流图研究了递归过程内联优化问题.提出妨碍递归过程内联的关键在于局部变量的副本问题,通过变量的定义使用关系分析,提出递归过程的可内联条件是在流图中任意局部变量的定义使用路径均不穿过递归调用语句.给出了内联时出口语句的模板,它能够处理存在多处递归调用的情况.最后通过实例说明了递归过程的内联.The inlining of recursive procedures, a problem for compiler optimizing, is studied through full control flow graph (FCFG) presented by Tang. The different versions of local variables is suggested as the key for such inlining. Based upon the definition - use path analysis, the inlinable recursive procedures are suggested to be those with no definition - use path crossing the recursive call sentence for all the local variables. The template for exit sentence is also presented, which can be applied in the occasions when there are multi recursive calls. A real example is utilized to describe the inlining approaches of recursive procedures.
分 类 号:TP314[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.209