A control-flow normalization algorithm and its complexity
Zahira Ammarguellat · IEEE Transactions on Software Engineering · 1992
A single method for normalizing the control-flow of programs to facilitate program transformations, program analysis, and automatic parallelization is presented. While previous methods result in programs whose control flowgraphs are reducible, programs normalized by this technique satisfy a stronger condition than reducibility and are therefore simpler in their syntax and structure than with previous methods. In particular, all control-flow cycles are normalized into single-entry, single-exit while loops and all GOTOs are eliminated. Furthermore, the method avoids problems of code replication that are characteristic of node-splitting techniques. This restructuring obviates the control dependence graph, since afterwards control dependence relations are manifest in the syntax tree of the program. Transformations that effect this normalization are presented, and the complexity of the method is studied.>
Cited by 72 works. doi:10.1109/32.126773
Authors
References
- The Design and Analysis of Computer Algorithms
- Representation of Events in Nerve Nets and Finite Automata
- Algorithm 97: Shortest path
- Flow diagrams, turing machines and languages with only two formation rules
- Structured Programming with go to Statements
- Efficient Algorithms for Shortest Paths in Sparse Networks
- Denotational semantics: The scott-strachey approach to programming language theory
- Flow Analysis of Computer Programs
- Optimizing supercompilers for supercomputers
- A program data flow analysis procedure