SPARSE FUNCTIONAL STORES FOR IMPERATIVE PROGRAMS

被引:0
|
作者
STEENSGAARD, B
机构
来源
SIGPLAN NOTICES | 1995年 / 30卷 / 03期
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In recent years, the trend in program representations for imperative programs has been to make them more functional, or to make them more sparse. However, new sparse representations have been non-functional, and new functional representations have not been sparse in the presence of pointer operations. In this paper, are present a functional representation that is sparse even in the presence of pointer operations. Conventionally, a store is represented in a functional program representation by a single object-typically a mapping from locations to values. We show how such a store object may be fragmented into several objects, each representing part of the store. The result is a sparser representation, which has not only the usual benefit of directly linking producers to consumers, but which also for static program analysis often leads to smaller domains of abstract Values for store objects. Store fragmentation corresponds to assignment factored SSA form (a factorization of SSA form introduced in this paper). We report on experiments with a thorough fragmentation based on a data flow points-to analysis and an intermediate level fragmentation based on an almost linear time complexity points-to analysis by type inference.
引用
收藏
页码:62 / 70
页数:9
相关论文
共 50 条
  • [1] PROJECTING FUNCTIONAL MODELS OF IMPERATIVE PROGRAMS
    HARMAN, M
    DANICIC, S
    [J]. SIGPLAN NOTICES, 1993, 28 (11): : 33 - 41
  • [2] Transformation of Functional Dataflow Parallel Programs into Imperative Programs
    Vasilev, V. S.
    Legalov, A. I.
    Zykov, S. V.
    [J]. AUTOMATIC CONTROL AND COMPUTER SCIENCES, 2022, 56 (07) : 815 - 827
  • [3] Approximating the domains of functional and imperative programs
    Brauburger, J
    Giesl, J
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 1999, 35 (2-3) : 113 - 136
  • [4] The derivation of functional equivalents of imperative programs
    Roberts, GHB
    [J]. PROCEEDINGS OF THE 24TH AUSTRALASIAN COMPUTER SCIENCE CONFERENCE, ACSC 2001, 2001, 23 (01): : 171 - 176
  • [5] Transformation of Functional Dataflow Parallel Programs into Imperative Programs
    V. S. Vasilev
    A. I. Legalov
    S. V. Zykov
    [J]. Automatic Control and Computer Sciences, 2022, 56 : 815 - 827
  • [6] Parallelizing imperative functional programs: The vectorization monad
    Hill, JMD
    Clarke, KM
    Bornat, R
    [J]. JOURNAL OF SYMBOLIC COMPUTATION, 1996, 21 (4-6) : 561 - 576
  • [7] THE USE OF FUNCTIONAL ANNOTATIONS IN VERIFYING IMPERATIVE PROGRAMS
    NICHOLL, R
    CLINT, M
    GRAY, D
    NICHOLL, T
    [J]. SOFTWARE ENGINEERING JOURNAL, 1990, 5 (05): : 280 - 288
  • [8] Relational Cost Analysis for Functional-Imperative Programs
    Qu, Weihao
    Gaboardi, Marco
    Garg, Deepak
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2019, 3 (ICFP):
  • [9] Executing and verifying higher-order functional-imperative programs in Maude
    Rusu, Vlad
    Arusoaie, Andrei
    [J]. JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING, 2017, 93 : 68 - 91
  • [10] On Resource Analysis of Imperative Programs
    Kristiansen, Lars
    [J]. ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2017, (248): : 6 - 6