Validating Dominator Trees for a Fast, Verified Dominance Test

被引:2
|
作者
Blazy, Sandrine [1 ]
Demange, Delphine [1 ]
Pichardie, David [2 ]
机构
[1] Univ Rennes 1, INRIA, IRISA, Rennes, France
[2] INRIA, IRISA, ENS Rennes, Rennes, France
来源
INTERACTIVE THEOREM PROVING | 2015年 / 9236卷
关键词
FORMAL VERIFICATION;
D O I
10.1007/978-3-319-22102-1_6
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The problem of computing dominators in a control flow graph is central to numerous modern compiler optimizations. Many efficient algorithms have been proposed in the literature, but mechanizing the correctness of the most sophisticated algorithms is still considered as too hard problems, and to this date, verified compilers use less optimized implementations. In contrast, production compilers, like GCC or LLVM, implement the classic, efficient Lengauer-Tarjan algorithm [12], to compute dominator trees. And subsequent optimization phases can then determine whether a CFG node dominates another node in constant time by using their respective depth-first search numbers in the dominator tree. In this work, we aim at integrating such techniques in verified compilers. We present a formally verified validator of untrusted dominator trees, on top of which we implement and prove correct a fast dominance test following these principles. We conduct our formal development in the Coq proof assistant, and integrate it in the middle-end of the CompCertSSA verified compiler. We also provide experimental results showing performance improvement over previous formalizations.
引用
收藏
页码:84 / 99
页数:16
相关论文
共 50 条
  • [1] Dominator trees and fast verification of proof nets
    Murawski, AS
    Ong, CHL
    [J]. 15TH ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, PROCEEDINGS, 2000, : 181 - 191
  • [2] ON THE DEGREE OF DOMINATOR TREES
    LEISS, EL
    [J]. INFORMATION PROCESSING LETTERS, 1988, 29 (04) : 199 - 200
  • [3] ON THE DOMINATOR COLORINGS IN TREES
    Merouane, Houcine Boumediene
    Chellali, Mustapha
    [J]. DISCUSSIONES MATHEMATICAE GRAPH THEORY, 2012, 32 (04) : 677 - 683
  • [4] INCREMENTAL COMPUTATION OF DOMINATOR TREES
    SREEDHAR, VC
    LEE, YF
    GAO, GR
    [J]. SIGPLAN NOTICES, 1995, 30 (03): : 1 - 12
  • [5] Incremental computation of dominator trees
    Sreedhar, VC
    Gao, GR
    Lee, YF
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1997, 19 (02): : 239 - 252
  • [6] Dominator Tree Certification and Divergent Spanning Trees
    Georgiadis, Loukas
    Tarjan, Robert E.
    [J]. ACM TRANSACTIONS ON ALGORITHMS, 2016, 12 (01)
  • [7] Structural properties of post-dominator trees
    Chen, TY
    Cheung, YY
    [J]. AUSTRALIAN SOFTWARE ENGINEERING CONFERENCE - PROCEEDINGS, 1997, : 158 - 165
  • [8] Total Global Dominator Coloring of Trees and Unicyclic Graphs
    Chithra, K. P.
    Joseph, Mayamma
    [J]. BAGHDAD SCIENCE JOURNAL, 2023, 20 (04) : 1380 - 1386
  • [9] Using dominator trees to catch secondary extinction in action
    Bodini, A.
    Allesina, S.
    Bellingeri, M.
    [J]. RECENT PROGRESS IN COMPUTATIONAL SCIENCES AND ENGINEERING, VOLS 7A AND 7B, 2006, 7A-B : 750 - +
  • [10] Verified Operational Transformation for Trees
    Sinchuk, Sergey
    Chuprikov, Pavel
    Solomatov, Konstantin
    [J]. INTERACTIVE THEOREM PROVING (ITP 2016), 2016, 9807 : 358 - 373