1985 · 42 citations · 7 references
ComputingComputer EngineeringComputer ScienceAlgorithmsCompilersProgramming LanguagesCode GenerationCompiler ConstructionConcurrent ProgrammingControl-flow AnalysisIntermediate RepresentationCompiler-based GenerationDesign LanguageIntermediate Code GenerationParallel Program DesignParallel ProgrammingSource-to-source TranslationVectorization
We consider the problem of generating sequential code for programs written in a language which contains a Multiple GOTO operator, predicates and statements. This problem arises when compiling a parallel intermediate form (such as the PDG [3,4]) to run on a sequential machine; in a source-to-source FORTRAN translator when vectorization of a loop has failed; and when compiling logic designs written in a parallel design language for simulation on a sequential machine. It is easy to generate sequential code for this sort of parallel program if one allows either duplication of code or the insertion of guard variables at merge points; in fact, it is in general impossible without this addition. However, for a large class of parallel programs (such as those originally arising from sequential programs, even after some optimizations have been applied) it is possible to generate sequential code without duplication or the addition of guard variables. In this paper we present an efficient algorithm which will generate sequential code from a parallel program without duplication or additional guard variables for a large class of parallel programs.
7
Dependence graphs and compiler optimizations
David J. Kuck, Robert H. Kuhn, David Padua et al. · 1981 · 652 citations · Full text
Conversion of control dependence to data dependence
John R. Allen, Ken Kennedy, Carrie Porterfield et al. · 1983 · 605 citations
A Fast and Usually Linear Algorithm for Global Flow Analysis
Susan L. Graham, Mark N. Wegman · Journal of the ACM · 1976 · 187 citations · Full text