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 条
  • [21] The functional imperative: Shape!
    Jay, CB
    Steckler, PA
    [J]. PROGRAMMING LANGUAGES AND SYSTEMS, 1998, 1381 : 139 - 153
  • [22] Finitism, Imperative Programs and Primitive Recursion
    Leivant, Daniel
    [J]. LOGICAL FOUNDATIONS OF COMPUTER SCIENCE (LFCS 2020), 2020, 11972 : 98 - 110
  • [23] Ynot : Dependent types for imperative programs
    Nanevski, Aleksandar
    Morrisett, Greg
    Shinnar, Avraham
    Govereau, Paul
    Birkedal, Lars
    [J]. ACM SIGPLAN NOTICES, 2008, 43 (09) : 229 - 240
  • [24] Ynot : Dependent Types for Imperative Programs
    Nanevski, Aleksandar
    Morrisett, Greg
    Shinnar, Avraham
    Govereau, Paul
    Birkedal, Lars
    [J]. ICFP'08: PROCEEDINGS OF THE 2008 SIGPLAN INTERNATIONAL CONFERENCE ON FUNCTIONAL PROGRAMMING, 2008, : 229 - 240
  • [25] Characteristic Formulae for the Verification of Imperative Programs
    Chargueraud, Arthur
    [J]. ICFP 11 - PROCEEDINGS OF THE 2011 ACM SIGPLAN: INTERNATIONAL CONFERENCE ON FUNCTIONAL PROGRAMMING, 2011, : 418 - 430
  • [26] A SCHEME FOR EFFECTIVE SPECIALIZATION OF IMPERATIVE PROGRAMS
    BULONKOV, MA
    KOCHETOV, DV
    [J]. PROGRAMMING AND COMPUTER SOFTWARE, 1995, 21 (05) : 244 - 253
  • [27] A Calculus for Imperative Programs: Formalization and Implementation
    Erascu, Madalina
    Jebelean, Tudor
    [J]. 11TH INTERNATIONAL SYMPOSIUM ON SYMBOLIC AND NUMERIC ALGORITHMS FOR SCIENTIFIC COMPUTING (SYNASC 2009), 2009, : 77 - 84
  • [28] Finitism, imperative programs and primitive recursion
    Leivant, Daniel
    [J]. JOURNAL OF LOGIC AND COMPUTATION, 2021, 31 (01) : 179 - 192
  • [29] Reversible Imperative Parallel Programs and Debugging
    Hoey, James
    Ulidowski, Irek
    [J]. REVERSIBLE COMPUTATION (RC 2019), 2019, 11497 : 108 - 127
  • [30] An Integrated Proof Language for Imperative Programs
    Zee, Karen
    Kuncak, Viktor
    Rinard, Martin C.
    [J]. PLDI'09 PROCEEDINGS OF THE 2009 ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION, 2009, : 338 - 351