发明名称 Loop allocation for optimizing compilers
摘要 Loop allocation for optimizing compilers includes the generation of a program dependence graph for a source code segment. Control dependence graph representations of the nested loops, from innermost to outermost, are generated and data dependence graph representations are generated for each level of nested loop as constrained by the control dependence graph. An interference graph is generated with the nodes of the data dependence graph. Weights are generated for the edges of the interference graph reflecting the affinity between statements represented by the nodes joined by the edges. Nodes in the interference graph are given weights reflecting resource usage by the statements associated with the nodes. The interference graph is partitioned using a profitability test based on the weights of edges and nodes and on a correctness test based on the reachability of nodes in the data dependence graph. Code is emitted based on the partitioned interference graph.
申请公布号 US6651246(B1) 申请公布日期 2003.11.18
申请号 US20000574408 申请日期 2000.05.18
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 ARCHAMBAULT ROCH GEORGES;BLAINEY ROBERT JAMES
分类号 G06F9/45;(IPC1-7):G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址