EFFICIENTLY COMPUTING STATIC SINGLE ASSIGNMENT FORM AND THE CONTROL DEPENDENCE GRAPH

被引:990
作者
CYTRON, R
FERRANTE, J
ROSEN, BK
WEGMAN, MN
ZADECK, FK
机构
[1] IBM CORP,DIV RES,DEPT MATH SCI,YORKTOWN HTS,NY 10598
[2] BROWN UNIV,DEPT COMP SCI,POB 1910,PROVIDENCE,RI 02912
来源
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS | 1991年 / 13卷 / 04期
关键词
D O I
10.1145/115372.115320
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In optimizing compilers, data structure choices directly influence the power and efficiency of practical program optimization. A poor choice of data structure can inhibit optimization or slow compilation to the point that advanced optimization features become undesirable. Recently, static single assignment form and the control dependence graph have been proposed to represent data flow and control flow properties of programs. Each of these previously unrelated techniques lends efficiency and power to a useful class of program optimizations. Although both of these structures are attractive, the difficulty of their construction and their potential size have discouraged their use. We present new algorithms that efficiently compute these data structures for arbitrary control flow graphs. The algorithms use dominance frontiers, a new concept that may have other applications. We also give analytical and experimental evidence that all of these data structures are usually linear in the size of the original program. This paper thus presents strong evidence that these structures can be of practical use in optimization.
引用
收藏
页码:451 / 490
页数:40
相关论文
共 52 条
  • [1] Aho A.V, 1986, COMPILERS PRINCIPLES
  • [2] AN OVERVIEW OF THE PTRAN ANALYSIS SYSTEM FOR MULTIPROCESSING
    ALLEN, F
    BURKE, M
    CHARLES, P
    CYTRON, R
    FERRANTE, J
    [J]. JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 1988, 5 (05) : 617 - 640
  • [3] ALLEN JR, 1988, SIGPLAN NOT ACM, V7, P241
  • [4] ALLEN JR, 1983, THESIS RICE U HOUSTO
  • [5] BALLANCE RA, 1990, SIGPLAN NOTICES, V25, P257, DOI 10.1145/93548.93578
  • [6] BANNING J, 1979, 6TH ANN ACM S PRINC, P29
  • [7] BARTH JM, 1977, 4TH ACM S PRINC PROG, P119
  • [8] BURKE M, 1986, SIGPLAN NOTICES, V21, P162, DOI 10.1145/13310.13328
  • [9] AN INTERVAL-BASED APPROACH TO EXHAUSTIVE AND INCREMENTAL INTERPROCEDURAL DATA-FLOW ANALYSIS
    BURKE, M
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1990, 12 (03): : 341 - 395
  • [10] CARTWRIGHT R, 1989, SIGPLAN NOTICES, V24, P13, DOI 10.1145/74818.74820