ACM SIGPLAN Notices · 1984 · 11 citations · 10 references
ComputingComputer EngineeringComputer ScienceAlgorithmsCompilersProgramming LanguagesCode GenerationCompiler ConstructionControl-flow AnalysisData-flow AnalysisDynamic ProgrammingSyntax AnalysisCode OptimizationCompiler DesignCompiler SupportCompiler-based GenerationDynamic Code GenerationDynamic CompilationOptimal Code Generation
We have performed an investigation of using a dynamic programming to generate optimized code in a Graham-Glanville style code generator We use Earley's algorithm rather than an IR algorithm for parsing in the code generator Not only does the use of Earley's algorithm make the construction of the code generator very easy it allows the selection of optimal code by dynamic programming (using a modification of the technique developed by Lvon) We compare two implementations of this technique to conventional hand-coded code generators using a subset of BASIC as the source language Further we discuss the use of this technique in an experimental C compiler.
10
Optimal Code Generation for Expression Trees
Alfred V. Aho, S. C. Johnson · Journal of the ACM · 1976 · 242 citations · Full text
S. C. Johnson · 1978 · 122 citations · Full text
Catherine H. Graham · Computer · 1980 · 71 citations